Horizontal Lines, Comment in HTML

  Insert Comment in HTML
      <html>
      <head>
<title> insert comment in HTML not show </title>
<body>
<!------This comment is not show. This story is good------>
<h1> My name is Sahil Bhatia. </h1>
<p> This is a paragraph</p>
</body>
</html>
OUTPUT:-
My name is Sahil Bhatia

This is a paragraph
   Horizontal Lines Example
<html>
<body>
<p> The hr tags defines a  Horizontal tag.</p>
<hr> <p> My name is Sahil</p>
<p> This is also a paragraph example. </p>I explain in previous lesson<hr><p> I am a chess player</p>
</body>
</html>
Note:- The hr tag do not need to close.
OUTPUT:-
The hr tag defines a Horizontal tag

My name is Sahil
 


This is also a paragraph example

I explain in previous lesson

I am a chess player



No comments:

Post a Comment