HTML Heading, Paragraph, Format, Image, Comments

  • Post author:
  • Post last modified:July 11, 2018
  • Reading time:3 mins read

HTML BacisWhat is Headings?

In  HTML  heading is a title of the article, book or any other content in the header. Web browser easily understands the content and structure of the web pages. Every heading has a specific font-size if you resized the font you use the CSS Property.

In your content you must use the h1 tag for the main heading, followed by h2 headings, then the less important h3, and so on.

Example: Heading

<!DOCTYPE html>
<title>Page Title</title>
<h1>This is a Heading 1</h1>
<h2>This is a heading 2</h2>
<h3>This is a heading 3</h3>
<h4>This is a heading 4</h4>
<h5>This is a heading 5</h5>
<h6>This is a heading 6</h6>

Note: Don’t use heading to big or bold the size of the font. To resize the font already has a CSS property font-size.

What is Paragraph?

The explanation of the content in words is called a paragraph.

<p> element to defines the paragraph.

Example: Paragraph

<!DOCTYPE html>
<title>Page Title</title>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

What is the Format?

Formatting elements were used to design the text types and display on webpages:

• <b> – Bold text

• <strong> – Important text

• <i> – Italic text

• <em> – Emphasized text

• <mark> – Marked text

• <small> – Small text

• <del> – Deleted text

• <ins> – Inserted text

• <sub> – Subscript text

• <sup> – Superscript text

Ayat UR Rehman

I'm a self-taught programmer and professionally studying Accounting and Finance. I love blogging to explore the world. It gives a chance to learn several things from different systems.

This Post Has One Comment

  1. Sasmung ROM

    Everything is very open with a precise explanation of the challenges.
    It was really informative. Your website is extremely helpful.
    Thanks for sharing!

Leave a Reply