Computer Science, asked by 18126navneetsingh, 5 months ago

. IF WE WANT THE SIMILAR OUTPUT ON A WEBPAGE. HOW MANY TIMES DO WE HAVE TO USE

THE <BR> TAG? _________________​

Answers

Answered by alok505155
2

Answer:

  • In HTML, the <br> tag is used for line break. It is an empty tag i.e. no need to add an end tag. Writing <br> tag is perfectly fine.
Answered by Qwdubai
0

If we want the similar output on a webpage, we have to use the <br> tag once.

  • <br> tag adds a line break between the text.
  • <br> tag is an empty tag i.e., it does not have an end tag.
  • Example: This is an example <br> of a <br> tag.
  • Output
  • : This is an example
  • of a
  • tag.
  • In the above example, you can see that "of a" is printed on the second line because there was a <br> tag before that.
  • Similarly, "tag" is printed on the third line because of the <br> tag.

Therefore, only one <br> tag is required to insert a line break.

#SPJ3

Similar questions