HTML for Beginners, Testers | HTML Paragraphs - Software Testing

Empowering Technology

Post Top Ad

Responsive Ads Here

Sep 24, 2020

HTML for Beginners, Testers | HTML Paragraphs

 <p> element declares a paragraph in HTML.
For Example:
<p>This is a paragraph.</p>

HTML Horizontal rules:
The <hr> tag represents a thematic jump break.

The poem problem:

<p>
Jack and Jill
Went up the Hill
</p>
The above code displayes entire poem in one line.

Solution: <pre> tag
<pre>
Jack and Jill
Went up the Hill
</pre>

The above code provides pre-formatted text usually in Font Courier as is with line breaks. 

Sample Code:


HTML for Beginners, Testers | HTML Paragraphs


No comments:

Post a Comment

Thanks a lot for your valuable Comment!

Post Bottom Ad

Responsive Ads Here