The HTML
<p> element means a paragraph
<p>This is the first tutorial</p>
<p>This is the 2nd tutorial.</p>
HTML Line Breaks:
<p>This is<br>a paragraph<br>with line breaks.</p>
The HTML <pre> Element
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:
<pre>
My Rosni lies over the ocean.
My Rosni lies over the sea.
My Rosnilies over the
ocean.
Oh, bring back my Rosni to me.
</pre>
Tag
Description
<p>
Defines a paragraph
<br>
Inserts a single line break
<pre>
Defines pre-formatted text
No comments:
Post a Comment