HTML or HyperText Markup Language is the main markup language for creating web pages and other information that can be displayed in a web browser.It is a language used to create electronic documents, especially pages on the World Wide Web that contain connections called hyperlinks to other pages.It also is an abbreviation that stands for HyperText Markup Language and is the language of web pages—the markup language that browsers read to render web pages.
Every web page you see on the Internet, including this one contains HTML code that helps format and show text and images in an easy to read format. Without HTML a browser would not know how to format a page and would only display plain text with no formatting that contained no links.
It is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>
), within the web page content. HTML tags most commonly come in pairs like <h1>
and </h1>
, although some tags represent empty elements and so are unpaired, for example <img>
. The first tag in a pair is the start tag, and the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, further tags, comments and other types of text-based content.
It is not compiled. It is written and used without any changes being done to it. I starts out a text file, and is still a text file when a browser or user agent interprets it. is made up of elements (often called tags) that build the contents of a web page.It is similar to SGML, although it is not a strict subset.
The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.It is not compiled and human readable. It defines the structure and layout of a Web document by using a variety of tags and attributes.
HTML elements form the building blocks of all websites. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written in languages such as JavaScript which affect the behavior of HTML web pages.
Web browsers can also refer to Cascading Style Sheets (CSS) to define the look and layout of text and other material. The W3C, maintainer of both the HTML and the CSS standards, encourages the use of CSS over explicit presentational HTML.
It defines several data types for element content, such as script data and stylesheet data, and a plethora of types for attribute values, including IDs, names, URIs, numbers, units of length, languages, media descriptors, colors, character encodings, dates and times, and so on. All of these data types are specializations of character data.