HTML Structure

1

HTML Structure

The following figure represents the HTML Structure.
HTML Structure consists of mainly three parts
– Doctype Declaration
– Head Section
– Body section




All the above three parts i.e the HTML Structure contains HTML Tags (Refer this, if you’re not aware of HTML Tags)

HTML Structure
Explanation of above structure 




  • Declaration of <!DOCTYPE>
    The declaration of <!DOCTYPE> tag helps the web browser to display a web document or web page correctly.
    There are different document types available on the web.
    To display a document in a correct format, the browser must know both type and version of the document.
    The doctype declaration is not at all case sensitive.
    A doctype can be declared in following ways

    <!doctype html> or <!Doctype Html> or <!DOCTYPE html> or <!DOCTYPE HTML>

  • The content between <html> and </html> describes the HTML document.
  • The content between <head> and </head> provides information about the document.
  • The content between <title> and </title> provides a title for the document.
  • The content between <body> and </body> describes the visible page content.
  • The content between <h1> and </h1> describes a heading.
  • The content between <p> and </p> describes a paragraph.
Share.

About Author

Hey TLOGER..!! I'm Sanjeev an "Engineer By Innocence" and the person behind this website. I started blogging with passion and I'm enthusiastic about technology and its related stuff. That's how journey towards TLOGER (TECHIE - BLOG - READERS) began.

1 Comment

Leave A Reply