Tuesday 13 May 2014

Basic Structure of Html.

In this post I am going to teach you how the html structure works...

Step:1)
HTML document begins and ends with HTML tag i.e. <HTML> </HTML> .Here the starting <html> indicates that the browser is html document &  </HTML> tells the browser that HTML document is completed.

Step:2) Header Tag i.e. <HEAD></HEAD>-Header Tag does not contain any text, it only contains the Title Tag in it.-The <head> element must include a title for the document, and can include scripts, styles, meta  information, and more.

Step:3)Body tag i.e.<BODY></BODY>
This is the main part of HTML document. The content which is to be displayed on screen as webpage should be written here. Body Tag contains the text as well as various tags but only the text will be displayed on Webpage.Example-









Output display in your browser like this.




No comments:

Post a Comment