403,864 views
32 votes
32 votes
hrateek 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?​

User Peter Ogden
by
2.1k points

1 Answer

22 votes
22 votes

➯Question - HTML

  • Before we suggest to hrateek 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 foriziontal 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.


\pmb{ }

User Mudasser Ajaz
by
2.7k points