How to leave and draw a line in HTML?

 Hello everyone! 

Today I am going to teach you how to leave and draw a line in an HTML program.


In HTML if you want to write something on the next line then it wouldn't accept if you don't insert a tag. If you simply go to the next line and write and assume that it will be the same on the web, but it won't. for that, you need to insert the tag.

<br>

It means break, go to the next line.

<html>

<head>

<title> MY NAME </title>

</head>

<body>

Hello everyone!! my name is Esha Rautela!!<br>

I study in grade 8.<br> 

:)

</body>

</html>



Now,

To make a line we have to use another tag.

This tag is 

<hr>





<html>

<head>

<title> MY NAME </title>

</head>

<body>

Hello everyone!! my name is Esha Rautela!!<br><hr>

I study in grade 8.<br><hr> 

:)<hr>

</body>

</html>




We are done!! Hope this helped you!!

Comments

Popular posts from this blog

LIST THE REASONS FOR THE FAILURE OF 1857 REVOLT.

Twist and Turn pop-up card

How to add video in HTML?