This page demonstrates the usage of various HTML tags for text formatting and structure.
HTML provides six levels of headings, from <h1>
to <h6>:
The <p>
tag defines a paragraph:
This is a paragraph of text.
The <br>
tag inserts a line break without starting a new paragraph:
This is the first line.
This is the second line after a line break.
The <b>
tag displays text in bold:
This is bold text.
The <i>
tag displays text in italics:
This is italic text.
The <u>
tag underlines text:
This is underlined text.
The <blockquote>
tag is used for longer quotations:
This is a blockquote. It is used to indicate a section that is quoted from another source.
The <hr>
tag inserts a horizontal rule:
HTML supports ordered and unordered lists:
The <table>
tag defines a table:
Header 1 | Header 2 |
---|---|
Data 1 | Data 2 |
Data 3 | Data 4 |
The <img>
tag embeds an image:
The <iframe>
tag embeds another HTML page within the current page: