HTML Page Structure 

Here we go through some basic HTML page structure which make easy to to create HTML page. In this tutorial we discuss some basic example to understand HTML page structure.

<!DOCTYPE html>
              <title>Page Title</title>

       <h1>This is a Heading</h1>
      <p>This is a paragraph.</p>



The first line of code, <!DOCTYPE html>, is called a doctype declaration, and tells the browser which version of HTML the page is written in.

Head section: The HTML head section is a container that can include a number of HTML elements that are not visible parts of the page rendered by the browser.

Head section elements which used in large of amount web application creation:

  • link

  • script

  • style 

  • title 

  • meta and others

Title section: The <title> section is the only element that is required to be contained within the <head> tags. The content within this element is displayed as the page title in the tab of the browser and is also what search engines use to identify the title of a page.

Body section: There can only be one <body> section in an HTML document because this element is the container that holds the content of the document.


In this tutorial we learn structure of HTML page and some important elements like head, title and body which used in all HTML pages. In next tutorial we learn it in details descriptions..

Powered  by Codersarts