WEPAGE STRUCTURE

WEPAGE STRUCTURE

Doctype

The doctype tells the web browser what version of html we are using, without it the browser might not display the page correctly. we must indicated the doctype in the top of the index.html file.

<!Doctype html >
<html>
        ...
</html>

Webpage title

To give a webpage a title we add the title name inside the head elements using title tags.

<!Doctype html >
<html>
  <head>
      <title> Webpage title </title>
  </head>      
   <body>
      <h1>My webpage </h1>
      <p> My 1st paragraph </p>
      <p> My 2nd paragraph </p>
      <p> My 3rd paragraph </p>
      <p> My 4rd paragraph </p>
      <h2> Conclusion </h2>
  </body>
</html>

3 thoughts on “WEPAGE STRUCTURE

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
LinkedIn
LinkedIn
Share
Instagram
error: Content is protected !!