Introduction to HTML-5 - Guidater

Lets Learn Coding

Latest

Recent Posts: Label / Tag Ex:

Post Top Ad

Introduction to HTML-5

What is HTML?

HTML stands for Hyper Text Markup Language which is the "mother tongue" of website. HTML was invented by Berners-Lee in 1990 to make a simple webpage. HTML describes the structure of a web-page or we can say that the HTML elements are the building blocks of a web-page. This web-page development language become very popular and the it laid the foundation of the websites that we use to day.

The HTML language not only empower is you make a website but also helps you to create a responsive web pages. Now a days, there are more than 9 billion web pages which are totally created by HTML. 

HTML Tags

As you know that html is a tag based language which have a closing and end in tags for example 
  • <HTML> is the starting tag of a website and </HTML> is the ending tag of a website. 
  • You can start a paragraph with <p> and then finish it with </p>. 
Both the starting and ending tags are same but the ending tag contain / in this start. Every element with in the tags is considered as the part of that tag. There are many tags in HTML like 
  • <p> for paragraph 
  • <h1>, <h2>....<h6> for headings 
  • <title> for title etc..

HTML-5

The HTML was created in 1990 and first version was called HTML 1.0 after sometime many new technologies came to the market as the HTML evolved. Now a days, web developers use html 5. There were many bugs and issues till html 4 but now with HTML 5 it is way more easy to create a web page. HTML 5 is a tag based language which have a closing and end tag. This website is also created with HTML 5. You can find out HTML of any website by going to it source code like in Chrome you can find the source code by pressing control + u. 
HTML 5 have two parts: 
  1. The Header part
  2. The Body part


Header Part

In the header part of HTML we create the path of website which is not visible to the user. For example 
  • The title page of the website <title>Page title</title> 
  • The language of the website 
  • The mata tags of the website
  • Backlinks to the websites and many many more.


Body Part

The body part of HTML contain all the code which is shown to the user. For example 
  • The text of the website 
  • The images of the website 
  • The layer of the website 
  • Content of the website etc..

Demo Code

<html>
<head>
<title>Page title</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>

Output


Post Top Ad