Wednesday 20 March 2013

HTML(Hypertext Markup Language)

HTML is a presentation language use to present web pages in the browser.HTML is made up of predefined elements and each elements has opening and closing tags and both opening and closing tags must be enclosed in angle brackets.Closing tags must have  the prefix slash(/). HTML is not case sensitive but recommended to write in lower case.

Basic elements of HTML:
  • <html></html>
HTML page must start with opening tag of  <html> and must end with closing tag of </html>
  • <head></head>
This element is use to provide a title for the page, write information related to the page like author of the page. Keywords based on which search engine can find your page and whether or not to refreash the page at specified intervals.
  • <title></title>
This element is used to provide a title for the document which will be displayed within the title bar of the browser. This elements must be inside the heads element.
  • <body></body>
This element is used to specify the actual content to display on the page.
  • Formatting Elements
<h1></h1>
<h2></h2>
<h3></h3> 
<h4></h4>  
<h5></h5> 
<h6></h6> 

This elements are use to create headings from level 1 to the level 6 where level 1 font will be large and from there font size will decrease as the level increase.
  • <p></p>
This element is used to create a paragraph text.
  • <b></b>
Use to make text as bold.
  • <i></i>
Use to make text as italic.