HTML
HTML Introduction
HTML Element
HTML Attributes
HTML Heading
HTML Paragraph
HTML Style
HTML Format
HTML Color
HTML Link
HTML Image
HTML Table
HTML List
HTML Symbols
HTML Emojis
HTML Forms
HTML Paragraphs
The HTML <p> element defines a paragraph.
A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph.
HTML Display
Large or small screens, and resized windows will create different results.
With HTML, you cannot change the display by adding extra spaces or extra lines in your HTML code.
The browser will automatically remove any extra spaces and lines when the page is displayed
HTML Tag Reference
Example
<p>This is a paragraph </p>
<p>This is another paragraph </p>
<p>This is another paragraph </p>
Example
<p> This paragraph contains a lot of lines in the source code, but the browser ignores it. </p>
Tag | Description |
---|---|
<p> | Defines a Paragraph |
<hr> | Defines a thematic change in the content |
<br> | Inserts a single line break |
<pre> | Defines pre-formatted text |