What is HTML?
HyperText Markup Language or HTML is an important part of most of the web pages and web applications.
Here, HyperText can be simply understood as “Text within Text.” In more simple words, a text with a link inside can be called a hypertext. This link brings the users to a new webpage, once clicked and thus hypertext is used to link two or more web pages with each other.
Coming to the term Markup Language, one can understand it as a computer language, which is used to make the text more interactive and dynamic, by turning text into images, tables, links, etc. Thus it applies layout and formatting conventions to a text document.
Again when we talk about a web page. It should be clear that we are talking about a web document, and more specifically an HTML document. A web page, in general, can either be of the static or dynamic type and can be identified by entering a URL. However, an HTML web page is a static web page.
Features of HTML:
- Simple language.
- Easy to understand and to modify.
- Includes many formatting tags, and thus easy to create an effective presentation.
- Markup language.
- Provides a flexible way to design web pages along with the text.
- Facilitates the addition of links on the web pages.
- Platform-independent and supports all platforms including Windows, Linux, and Macintosh, etc.
- Facilitates the addition of Graphics, Videos, and Sound to the web pages.
- Attractive and interactive language.
- Case-insensitive language.
History of HTML:
The father of HTML is Tim Berners-Lee, a physicist, who wrote a memo proposing an internet-based hypertext system in 1989, and since that time a lot of HTML versions were developed.
HTML Versions:
VERSION | RELEASE YEAR | DESCRIPTION |
HTML 1.0 | 1991 | ● The first version of HTML.
● A barebones version of HTML language. |
HTML 2.0 | 1995 | ● Standard language version for website design.
● Supports extra features such as form-based file upload and form elements like text box, option button, etc. |
HTML 3.2 | 1997 | ● Published by W3C.
● Able to create tables. ● Supports extra options for form elements. ● Supports a web page with complex mathematical equations. Became an official standard for any browser till January 1997. Supported by most of the browsers today also. |
HTML 4.01 | 1999 | ● A stable version of HTML language.
● Current official standard. ● Supports stylesheets (CSS) and scripting ability for various multimedia elements. |
HTML 5 | 2008 | ● The newest version of HTML language.
● The first draft announced in January 2008. ● The W3C (World Wide Web Consortium), and WHATWG( Web Hypertext Application Technology Working Group) are involved in its development. ● Still under development. |
Example:
Hello
World!!
Explanation:
<!DOCTYPE>: It is used to define the document type. It can also be used to instruct the browser about the HTML version.
<html>: It is a tag which is used to specify to the browser that it is an HTML document. It contains all the elements of HTML other than <!DOCTYPE> and thus the web document is described by the text between HTML tag.
<head>: It is a tag inside the <html> tag, also the first element inside the <html> element which is used as a container for the metadata and is closed before the body tag opens. Here, metadata means the information related to the document.
<title>: It is the next tag and an optional tag placed inside the <head> tag which is used to add a title to the HTML page and is closed immediately. This title appears at the top of the browser window.
<body>: It is a tag inside the <html> tag, also the next element inside the <html> element after the <head> element, which is used as a container for the body content of the page, also the main content of the HTML document. These contents are visible to the end-user.
<h1>: It is a tag placed inside the <body> tag to specify the first level heading of the webpage.
<p>: It is a tag placed inside the <body> tag to specify a paragraph of the webpage.
HTML tutorial
- HTML introduction overview
- Text Editors in HTML
- Building blocks of HTML
- HTML Tags
- Attributes in HTML
- Formatting tags in HTML
- HTML Elements
- Paragraph tag in HTML
- Phrase tags in HTML
- Anchor tag in HTML
- Image tag in HTML
- Table tags in HTML
- List tags in HTML
- Ordered List in HTML
- Description List in HTML
- Form Tags in HTML
- HTML with CSS
- HTML Classes
- HTML ID Attribute
- HTML Javascript
- HTML Iframes
- HTML Comments
- HTML Head
- HTML File Path
- HTML Layouts
- HTML Layout Techniques
- HTML Responsive
- HTML Computer code
- HTML Entities
- HTML Symbols
- HTML Charset
- HTML URL Encode
- HTML Global Attributes
- HTML Event Attributes
- HTML Tags List
- DOCTYPE HTML
- Anchor HTML
- Abbreviation HTML
- Acronym HTML
- Address HTML
- Applet HTML
- Area HTML
- Article HTML
- Aside HTML
- Audio HTML
- Bold HTML
- Base HTML
- Basefont HTML
- BDI HTML
- BDO HTML
- BIG HTML
- Blockquote HTML
- Body HTML
- BR HTML
- Button HTML
- Canvas HTML
- Caption HTML
- Center HTML
- Cite HTML
- Code HTML
- Col HTML
- Colgroup HTML
- Data HTML
- Datalist HTML
- DD HTML
- Del HTML
- Details HTML
- DFN HTML
- Dialog HTML
- Dir HTML
- Div HTML
- DL HTML
- DT HTML
- EM HTML
- Embed HTML
- Fieldset HTML
- Figcaption HTML
- Figure HTML
- Font HTML
- Footer HTML
- Form HTML
- Frame HTML
- Frameset HTML
- h1, h2, h3, h4, h5, h6 HTML
- Head HTML
- Header HTML
- HR HTML
- Html tag in HTML
- i | Italic html
- iframe HTML
- img HTML
- Input HTML
- Ins HTML
- isindex HTML
- kbd HTML
- Label HTML
- Legend HTML
- li HTML
- link HTML
- Main HTML
- Map HTML
- Mark HTML
- Marquee HTML
- Menu HTML
- Meta HTML
- Meter HTML
- Nav HTML
- Noframes HTML
- Noscript HTML
- OL HTML
- Optgroup HTML
- Option HTML
- Output HTML
- P | paragraph HTML
- Object HTML
- Param HTML
- Picture HTML
- Svg HTML
- Table HTML
- Tbody HTML
- Tfoot HTML
- thead HTML
- td HTML
- th HTML
- tr HTML
- title HTML
- time HTML
- template HTML
- textarea HTML
- track HTML
- tt HTML
- u | underline HTML
- ul HTML
- var HTML
- video HTML
- wbr HTML
- User Manual HTML5
- HTML5 Tags
- HTML5 New Elements
- HTML Google Maps
- HTML5 Semantics
- HTML5 Migration
- HTML Drag and Drop
- HTML5 Geolocation
- HTML Web Storage
- HTML5 Web Workers
- HTML5 Server-Sent Event
- HTML Color Names