Monday, 12 August 2013

Basic Structure Of HTM L (Hyper Text Markup Language)

1. !DOCTYPE Tag

The Main Part Of tag is the DTD (Document Type Defination) element, which tells the browsers that the document compile with a Particular HTML version. Note: HTML is not case senstive like c and c++ i.e you can write upper case as well as lower case. i.e mean HTml, html,HtMl etc.

2. HTML Tag

This tag is used after the tag and identifies the document as an HTML document. All other tags are included within .< HTML>. and < /HTML>

3. HEAD Tag

This tag contain information about the document, including it's title, script used,style definations and document descriptions.
Syntex: < HEAD> and .< /HEAD>

4. TITLE Tag

This tag gives an HTML document a title by which it is known to browswers and indexing robots.The title does not appear whitin the browser window,since it is visible in the browser's title bar.
syntex: .< TITLE>. and < /TITLE>

5. Body Tag

This tag encloses all tags, attributes and information that one want the browser to display.
Syntex: .< Body> and .< /Body>

Example:
< html>

     
  < head>

    < tilte>

      Here You Put Title Of Your Page It Will Show On The Title Bar.

    < /title>
 
   < /head>
  < /body> 

    Here You Use All Other Tag And Attribute.

  < /body>
 

 
  < /html>  

No comments:

Post a Comment