HTML Tutorial
HTML Forms
HTML Graphics
HTML Media
HTML API
Html Paragraphs
The HTML <p> element defines a paragraph.
A paragraph is always started on a new line, and White space (a margin) before and after a paragraph is automatically added by the browsers.
Example
This is a paragraph.
This is another paragraph.
Output:
This is a paragraph.
This is another paragraph.
This paragraph contains a lot of lines in the source code, but the browser ignores it.
This paragraph contains a lot of spaces in the source code, but the browser ignores it.
The number of lines in a paragraph depends on the size of the browser window. If you resize the browser window, the number of lines in this paragraph will change.
HTML Horizontal Rules
The tag is used for the thematic break in an HTML page and is most often displayed as a horizontal rule.
The element separates content (or define a change) in an HTML page:
This is heading 1
This is some text.
This is heading 2
This is some other text.
This is heading 2
This is some other text.
Output:
