The HTML The text inside a |
<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>
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>
What is 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 |
What is the Poem Problem in HTML Paragraphs | HTML Paragraphs |
How to create <pre> Element in HTML Paragraphs | HTML Paragraphs |
Sample of HTML <pre> Element in HTML Paragraphs | HTML Paragraphs |
Full Example of HTML <pre> Element in HTML Paragraphs | HTML Paragraphs |
Read Full: | HTML Paragraphs |
Category: | Web Tutorial |
Sub Category: | HTML Paragraphs |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 2 |
Ref on: | View |