Basic structure of HTML

Posted by Unknown on 13:45 with No comments

Basic structure of HTML


           Structure: 
<html>
    <head> Here you use CSS, jS Style Sheet tags.
        <title>Here use your website title</title>
    </head>
    <body>
        Here use main content of your page, you use this ppart to design your page. Normaly your page design start from here.
    </body>
<html>
       


    Try this Example:


Open your notepad & type  this(in below) code then go to file menu & click to "save as"  then set "File Name: index.html" & "Save as type: all files" and open this file with any web browser.
     
<html>
    <head>
        <title>Basic structure of HTML</title>
    </head>
    <body>
        This is my first web page. I am learning now HTML.
    </body>
</html>
     
    Code Analysis:
     
The text between <html> & </html> is describes the total web page.
The text between <body> & </body> is the contains page content. 
Categories: