Previous Next

HTML Horizontal Line

The HTML <hr> tag lets you insert a horizontal line. It places a horizontal rule or a line on the web page.

Syntax:

<hr>

Example:

<h2> HTML </h2>
<p> HTML stands for Hypertext Markup Language. HTML is the markup language used to create Web pages. HTML is employed to define the structure of a Web page. HTML consists of a set of elements. HTML elements tell the browser how to render the content. </p>
<hr>
<h2> CSS </h2>
<p> CSS stands for Cascading Style Sheets. It is a style sheet language that is used to specify the look and the format of a document that has been authored with a markup language. It provides an additional feature to HTML. It is used typically with HTML to change the style of web pages and user interfaces. </p>

Output

Previous Next