HORIZONTAL RULE,LINE BREAKS,PRE ELEMENT:-

👉HTML Horizontal Rules

The <hr> tag defines a thematic break in an HTML page, and is most often displayed as a horizontal rule.


The <hr> element is used to separate content (or define a change) in an HTML page:


👉HTML Line Breaks


The HTML <br> element defines a line break.


Use <br> if you want a line break (a new line) without starting a new paragraph:



The <hr> AND <br> tag is an empty tag, which means that it has no end tag.


👉PRE TAG:-

The HTML <pre> element defines preformatted text.


The text inside a <pre> element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks:


========================================================

Tag       Description

<p>   Defines a paragraph

<hr>  Defines a thematic change in the content

<br> Inserts a single line break

<pre> Defines pre-formatted text


Post a Comment

0 Comments