State the HTML tags?

     

     

    FAQ: What is the difference between .htm and .html?

     

    We can save the document with the extension of .htm or .html. Both are same. But in older "OS" supports file extention with supports maximum 3 charactes whereas new "OS" supports 3 or more charactes as extension. It is always between to save the document with the extension of .htm to get acceptance globally.

     

     

    Step-by-step explanation regarding the contents of CODE:

    <HTML>

     

  • HTML represent to Hyper Text Markup Language
  • It represents whole HTML document
  • This code should be placed at the top, which gives recognisation to the server that this document is in HTML format.
  • This tag having Opening as Closing
  • Entire code should be placed in between Opening HTML and closing HTML
  • <html> code </html
  •  

    <HEAD>

     

  • HEAD tag should place next to(2nd) HTML
  • This HEAD tag having Opening and Closing tag
  • HEAD tag consists of "Title"
  •  

    <TITLE>

  • It is part of Head Tag
  • It enables us to create the TITLE of the document
  • It is also having opening tag and closing tag
  •  

    <BODY>

  • It consists of Text of body
  •