Page 87 - Computer Class 06
P. 87

The  following  example  shows  a  paragragh  contained  within  the  HTML  paragraph

             element:
             <p> You are beginning to learn HTML.</p>

             When this content is displayed in a web browser, it looks like this:
             You are beginning to learn HTML.

             HTML Document Structure

             There are some tags that form the basic structure of HTML document.

             HTML Tag

             This  tag  informs  the  browser  that  it  is  an  HTML  document.  Text  between  html  tag
             describes the web document.
             <HTML>

             </HTML>

             HEAD Tag
             It  should  be  the  first  element  inside  the  <html>  element,  which  contains  the

             metadata. It must be closed before the body tag opens.
             <HTML>

             <HEAD>
             World of Sports

             </HEAD>
             </HTML>

             TITLE Tag

             As its name suggested, it is used to add title of that HTML page which appears at the
             top of the browser window. It must be placed inside the head tag and should close
             immediately.

             <HTML>
             <HEAD>

             World of Sports
             <TITLE>

             Tennis
             </TITLE>

             </HEAD>

             </HTML>





                                                                                    Computer-6              87
   82   83   84   85   86   87   88   89   90   91   92