Prateek wants to draw horizontal line on the webpage he is creating
but he does not know which HTML tag he has to use for the same.
Suggest him how to do this?
Answers
Question - HTML
Before we suggest to Prateek that how to draw horizontal line on the webpage, let's first know about HTML.
HTML is the hypertext markup language, it is the standard markup language, it is used for creating web pages, it's consist of a series elements. HTML elements tell the browser, how to display the content.
The Answer
Prateek needs to use <hr> tag to draw horizontal line on the webpage. Because we know that <hr> is used for horizontal line.
Know more
Some important tags in HTML
- <!Doctype> tag defines the document type.
- <html> tag defines the HTML document.
- <head> tag defines the information for the document.
- <title> tag defines the title of the document.
- <body> tag is defines the body of the document.
- <h1> tag is used for HTML headings.
- <p> tag us used for paragraph.
- <br> tag is used for insert a line break.
- <b> tag is used for bold text.
- <u> tag is used for underline text.
- <i> tag is used for Italic text.
- <hr> tag is used for horizontal line.
Required Answer :-
Prateek wants to draw horizontal line on the webpage he is creating
but he does not know which HTML tag he has to use for the same.
So, horizontal line is represented by hr
Now the tag is
<hr>
</hr>
Know More :-
<b> - Bold
<i> - Italic
<u> - Underline
<p> - Paragraph
<h1> - Heading 1
<h2> - Heading 2
<h3> - Heading 3
<h4> - Heading 4
<h5> - Heading 5
<h6> - Heading 6
[tex][/tex]