WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML Headings


Headings are essential in HTML archives and it is deal with seo.


HTML Headings

HTML Headings are characterized with the <h1> to <h6> tags.

<h1> characterizes the most critical heading for site page . <h6> characterizes the least vital heading.

Example

<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h3>This is a heading</h3>
Try it yourself »

Note: Browsers naturally include some unfilled space (an edge) when each heading.


Headings Are Important

We can utilize HTML headings for headings only.Should not utilize headings to make content BIG or boldor small.

SEO take a shot at h1 heading and Search motors think carefully to record the structure and substance of your web pages.

Users skim your pages by its headings. It is critical to utilize headings to demonstrate the archive structure.

h1 headings ought to be primary headings, trailed by h2 headings, at that point the less essential h3, thus on.


HTML Horizontal Rules

The <hr> tag makes an even line in a HTML page.

The hr component can be utilized to isolate substance and make space even :

Example

<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
Try it yourself »

The HTML <head> Element

The HTML <head> component has nothing to do with HTML headings.

The HTML <head> component contains meta data. Meta information are not shown.

The HTML <head> component is set between the <html> tag and the <body> tag:

Example

<!DOCTYPE html>
<html>

<head>
  <title>My First HTML</title>
  <meta charset="UTF-8">
</head>

<body>
.
.
.
Try it Yourself »

The HTML <title> Element

The HTML <title> component is meta information. It characterizes the HTML report's title.

The title won't be shown in the report, yet may be shown in the program tab.


The HTML <meta> Element

The HTML <meta> component is additionally meta data.

It can be utilized to characterize the character set, and other data about the HTML document.


More Meta Elements

In the section about HTML styles you find more meta elements:

The HTML <style> component is utilized to characterize inner CSS style sheets.

The HTML <link> component is utilized to characterize outside CSS style sheets.


HTML Tip - How to View HTML Source

Have you at any point seen a Web page and pondered "Hey! How could they do that?"

To discover, right-click in the page and select "View Page Source" (in Chrome) or "View Source" (in IE), or comparable in another program. This will open a window containing the HTML code of the page.



HTML Tag Reference

welookups' label reference contains extra data about these labels and their attributes.

You will become familiar with HTML labels and characteristics in the following parts of this tutorial.

Tag Description
<html> Defines a HTML document
<body> Defines the archive's body
<head> Defines the archive's head element
<h1> to <h6> Defines HTML headings
<hr> Defines a flat line