HTML Introduction HTML Tutorial

Posted on 09:06 in ,


HTML   Introduction







Example  :-


<!DOCTYPE  html>
<html>
<body>


<h1 >My First  Heading</h1 >


<p>My  first  paragraph.</p>


</body>
</html>




Example  Explained  :-




The DOCTYPE  declaration   defines  the document  type
The text  between  <html>  and </html>  describes  the web  page
The text  between  <body>  and </body>  is the visible page content
The text  between  <h 1> and </h 1> is displayed  as a heading
The text  between  <p> and </p>  is displayed  as a paragraph












 

1 comment