

Exercitation ullamco laboris nis aliquip sed conseqrure dolorn repreh deris ptate velit ecepteur duis.
Call Our Support
+9198559-08009
Plot No. F-465, K&B Tower 2nd Floor,
Phase 8B, Mohali.
Working Hours ,
Mon to Sat: 9:30 am to 6:30 pm
HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages. HTML was created by Berners-Lee in late 1991 but “HTML 2.0” was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. Though HTML 4.01 version is widely used but currently we are having HTML-5 version which is an extension to HTML 4.01, and this version was published in 2012.
Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers. Now, HTML is being widely used to format web pages with the help of different tags available in HTML language.
HTML is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Web Development Domain. I will list down some of the key advantages of learning HTML:
Just to give you a little excitement about HTML, I’m going to give you a small conventional HTML Hello World program, You can try it using Demo link.
<!DOCTYPE html> <html> <head> <title>This is document title</title> </head> <body> <h1>This is a heading</h1> <p>Hello World!</p> </body> </html>
As mentioned before, HTML is one of the most widely used language over the web. I’m going to list few of them here:
Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers.
Now, HTML is being widely used to format web pages with the help of different tags available in HTML language.
In its simplest form, following is an example of an HTML document −
<!DOCTYPE html> <html> <head> <title>This is document title</title> </head> <body> <h1>This is a heading</h1> <p>Document content goes here.....</p> </body> </html>
As told earlier, HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle braces <Tag Name>. Except few tags, most of the tags have their corresponding closing tags. For example, <html> has its closing tag </html> and <body> tag has its closing tag </body> tag etc.
Above example of HTML document uses the following tags −
Sr.No | Tag & Description |
---|---|
1 | <!DOCTYPE…>This tag defines the document type and HTML version. |
2 | <html>This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>…</head> and document body which is represented by <body>…</body> tags. |
3 | <head>This tag represents the document’s header which can keep other HTML tags like <title>, <link> etc. |
4 | <title>The <title> tag is used inside the <head> tag to mention the document title. |
5 | <body>This tag represents the document’s body which keeps other HTML tags like <h1>, <div>, <p> etc. |
6 | <h1>This tag represents the heading. |
7 | <p>This tag represents a paragraph. |
To learn HTML, you will need to study various tags and understand how they behave, while formatting a textual document. Learning HTML is simple as users have to learn the usage of different tags in order to format the text or images to make a beautiful webpage.
World Wide Web Consortium (W3C) recommends to use lowercase tags starting from HTML 4.
A typical HTML document will have the following structure −
<html> <head> Document header related tags </head> <body> Document body related tags </body> </html>
We will study all the header and body tags in subsequent chapters, but for now let’s see what is document declaration tag.
The <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. Current version of HTML is 5 and it makes use of the following declaration −
<!DOCTYPE html>
There are many other declaration types which can be used in HTML document depending on what version of HTML is being used. We will see more details on this while discussing <!DOCTYPE…> tag along with other HTML tags.
Click one of our contacts below to chat on WhatsApp