WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML Paragraphs


HTML reports are isolated into paragraphs.


HTML Paragraphs

The HTML <p> component characterizes a paragraph.

Example

<p>This is a paragraph</p>
<p>This is basic paragraph</p>
<p>This is another paragraph</p>
Try it yourself »

HTML Display

You can't think how website page see

But numerous technique to Large or little screens and resized windows will make distinctive outcomes.

With HTML, you can't change the yield by including additional areas or additional lines in your HTML code.

The program are helpful for designer since it will evacuate additional areas and additional lines when the page is displayed.

any number of spaces, and any number of new lines, consider only one space.

Example

<p>
This paragraph
contains a ton of lines
in the source code,
but the program
ignores it.
</p>

<p>
This paragraph
contains         a ton of spaces
in the source         code,
but the        program
ignores it.
</p>
Try it Yourself »

You ought not Forget the End Tag

Most programs will show HTML accurately regardless of whether you overlook the end tag:

Example

<p>This is a paragraph
<p>This is a basic paragraph
<p>This is another passage
Try it yourself »

The model above will work in many programs, however don't depend on it.

if you Forget the end label it will deliver unforeseen outcomes or errors.


HTML Line Breaks

The HTML <br> component characterizes a line break.

Use <br> in the event that you need a line break (another line) without beginning another paragraph:

Example

<p>This is<br>a para<br>graph with line breaks</p>
Try it yourself »

The <br> component is a vacant HTML component. It has no closure tag.


The Poem Problem

This lyric will show as one line:

Example

<p>
  Dream enormous, and let your energy shine.

  Dream huge, and let your enthusiasm good.

  Dream huge, and let your energy time.

  Dream huge, and let your enthusiasm money.
</p>
Try it Yourself »

The HTML <pre> Element

The HTML <pre> component characterizes preformatted text.

The message inside a <pre> component is shown in a fixed-width text style (more often than not Messenger), and it jam the two spaces and line breaks:

Example

<pre>
  Dream enormous, and let your enthusiasm shine.

  ream huge, and let your energy good.

  Dream huge, and let your enthusiasm time

  et your energy money.
</pre>
Try it Yourself »