HTML full form is Hyper Text Markup Language. HTML is used to describe structure of web pages.
HTML was developed by Tim Berners-Lee in the late 1991. It was released officially in 1995 as HTML 2.0. The current version of HTML is HTML 5.2 which was released in 2017.
HTML Versions
Below is the list of all HTML versions released so far.
Version | Year |
HTML | 1991 |
HTML 2.0 | 1995 |
HTML 3.2 | 1997 |
HTML 4.01 | 1999 |
XHTML | 2000 |
HTML 5 | 2014 |
HTML 5.1 | 2016 |
HTML 5.2 | 2017 |
HTML Tags
HTML consists of series of elements that tells browser in what format the content should be displayed. The HTML elements are represented using tags. A tag is surrounded by angle brackets, see below example.
<tagname>some content here</tagname>
HTML tag comes in a pair like <html> and </html>. The 1st tag in this pair is the start tag and 2nd tag is end tag. The end tag is written same as like start tag, but a forward slash is written before the tag name. Sometimes the start and end tag is also called as opening and closing tag.
Simple HTML Document
The web browsers like Chrome, Firefox, Safari, etc. are responsible for reading HTML documents. The browsers do not directly display HTML tags. They use tags to determine how document will be displayed.
A simple HTML document will look like as shown below.
<html> <head> <title>Simple HTML Document</title> </head> <body> <h1>Simple HTML Document</h1> <p>Your first paragraph goes here.</p> </body> </html>
HTML documents are saved with .htm or .html extension. You can write and edit them using any text editor such as notepad, wordpad, etc. If you will open above document in browser it will be displayed as shown below.
Let’s see explanation of each tag used above.
<html>: It is the root tag of a html page
<head>: Contains the meta information about the page
<title>: Specifies title of the page
<body>: All the content written inside is displayed in the browser
<h1>: It defines a large heading
<p>: It defines a paragraph
Comment below if you have any queries related to above article.
The post HTML Full Form – What is the Full Form of HTML? appeared first on The Crazy Programmer.
No comments:
Post a Comment