Example:
HTML
<!DOCTYPE html>
<html>
<body>
<p>The pre tag preserves both spaces and line breaks:</p>
<pre>
My Bonnie lies over the ocean.
My Bonnie lies over the sea.
My Bonnie lies over the ocean.
Oh, bring back my Bonnie to me.
</pre>
</body>
</html>
Sample of HTML <pre> Element in HTML Paragraphs | HTML Paragraphs |
Full Example of HTML <pre> Element in HTML Paragraphs | HTML Paragraphs |
HTML Paragraphs | HTML Paragraphs |
How to display HTML Paragraphs | HTML Paragraphs |
How to create HTML Horizontal Rules | HTML Paragraphs |
How to create HTML Line Breaks | HTML Paragraphs |
the Poem Problem in HTML Paragraphs | HTML Paragraphs |
How to create <pre> Element in HTML Paragraphs | HTML Paragraphs |
Type: | html |
Category: | Web Tutorial |
Sub Category: | HTML Paragraphs |
Uploaded by: | Admin |