HTML – Explanation of Important HTML elements – Part 3

1
117

There are five different element used in HTML!

1. <!DOCTYPE HTML>
2. <HTML>
3. <HEAD>
4. <TITLE>
5. <BODY>

1. <!DOCTYPE HTML>
– This special tag is used to inform the browser that the document type is HTML5.

2. <html></html>
– The <html> tag is the foundation of the entire web page or you can also say, it is the root element of an HTML web page.

3. <head></head>
– These tags define a special part of the web page called the head (or sometimes header).
– It contains all the information about an Html5 document.

4. <title></title>
– This tag is used to determine the page’s title. The title usually contains ordinary text. Whatever you define as the title will appear in the browser’s title bar.

5. <body></body>
– The page’s main content is contained within these tags. In other words, You can say that It contains the visible page content.

In All HTML documents we should use these tags and it is compulsory. All element have opening and closing tag separately. Keep in mind!

Hope you like my post!
Enjoy! Bbyee!

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here