- Introduction To HTML
- HTML Editors
- HTML Basic Examples
- HTML Elements
- HTML Attributes
- HTML Headings
- HTML Paragraphs
- HTML Styles
- HTML Formatting Elements
- HTML Quotation
- HTML Comments
- HTML Colors
- HTML Styles - CSS
- HTML Links
- HTML Images
- HTML Tables
- HTML Lists
- HTML Block And Inline
- HTML Class
- HTML Id
- HTML Iframes
- HTML JavaScript
- HTML File Paths
- HTML Head
- HTML Layout
- HTML Responsive
- HTML Computer Code
- HTML Semantic
- HTML Forms
- HTML Form Attributes
- HTML Form Elements
- HTML Input Types
- HTML Input Attributes
- HTML Input Form Attributes
- HTML Canvas
- HTML SVG
- HTML Media
- HTML Video
- HTML Audio
- HTML YouTube
HTML Paragraphs
HTML Paragraphs
A paragraph in HTML is defined by the <p> element.
Browsers automatically add some white space (a margin) before and after a paragraph, which always begins on a new line.
<p>This is another paragraph.</p>
HTML Display
It's impossible to predict how HTML will look.
Different outcomes will emerge from resized windows, large displays, and small screens.
HTML does not allow you to alter the presentation by including extra lines or spaces.
When the page is displayed, the browser will automatically eliminate any unnecessary spaces and lines:
This first paragraph
contains a lot of lines
in the source code,
but the web browser
ignores it.
</p>
<p>
This first paragraph
contains a lot of spaces
in the source code,
but the web browser
ignores it.
</p>
HTML Horizontal Rules
The <hr>
tag, which typically appears as a horizontal rule, designates a thematic break in an HTML page.
The <hr>
element is used in HTML pages to define changes or to split content:
<p>This is some paragraph text.</p>
<hr>
<h2>This is second heading 2</h2>
<p>This is some other paragraph text.</p>
<hr>
HTML Line Breaks
A line break is defined by the HTML<br>
element.
If you want a line break (new line) without beginning a new paragraph, use the symbol<br>
Products
Partner
Copyright © RVR Innovations LLP 2024 | All rights reserved - Mytat.co is the venture of RVR Innovations LLP