Basic Tags



Html Basic Tags


A web browser reads an Html document from top to bottom, left to right. Each time the browser finds a tag, the tag is rendered accordingly. By adding tags to an Html document, you are not only coding Html, but also tell the web browser when and how to treat documents. The basic structure for all Html documents is simple and should include the following minimum elements or tags:


<!DOCTYPE> declaration helps the browser to display a web page correctly.


<html> container for whole Html documents.


<head> container for page header information


<title> container for title of the page.


<body> container for main body of the page.


<h1> container for heading of the page.


<p> container for paragraph of the page.







Html Page Structure



<html>


 <head>


   <title> Page Title </title>


 </head>


 <body>


   <h1> Heading </h1>


   <p> Paragraph </p>


 </body>


</html>






Comments (0)

  • To add your comment please or

We use cookies to improve your experience on our site and to show you personalised advertising. Please read our cookie policy and privacy policy.

Got It!