Paragraph Tags and Text Formatting Tags

Paragraph Tags in HTML

1) To create paragraph in html we have P tags.

2) < p > tags is block level element.

3) Browser will automatically add one line break before and after the < p > tag

Note

To generate random content lorem 50 - Enter

Text Formatting Tags in HTML

<b> - Bold tag

This text is bold. Used to highlight important words.

<strong> - Strong tag

This text is strong. It has semantic meaning.

<i> - Italic tag

This text is italicized. Used for styling in italic.

<em> - Emphasis tag

This text is emphasized.It is used to in style in italic +mark the content as important or Emphasis.

<u> - Underline tag

This text is underlined. Used for highlights, and under line the words.

<mark> - Highlight tag

This text is highlighted using the <mark> tag.

<small> - Small tag

This text is smaller. Useful for disclaimers or fine print.

<ins> - Insert tag

This text is inserted. It shows newly added content.

<sub> - Subscript tag

H2O - The <sub> tag is used for subscript text.

<sup> - Superscript

x2 - The <sup> tag is used for superscript text.

<code> - Code

Example: <h1>Hello, World!</h1> - Used to display programming code.

<q> - Quotation

This is a short inline quote. Used for small quotations.

<blockquote> - Blockquote

This is a blockquote. It is used for longer quotations.

<abbr> - Abbreviation

The term HTML is an abbreviation.

<address> - Address

John Doe
123 Web Street
HTML City, WWW 45678