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>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<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>
</body>
</html>

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>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>

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