From ed59804ebd552cfcf238b3625a4af9522640c279 Mon Sep 17 00:00:00 2001 From: Balbir Singh Date: Fri, 18 Jan 2019 08:32:02 +0530 Subject: [PATCH] Added Heading Tag Guide (#34734) * Heading tags * Update index.md * Update index.md Corrected the format of guide. --- .../english/html/elements/heading-tag/index.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 guide/english/html/elements/heading-tag/index.md diff --git a/guide/english/html/elements/heading-tag/index.md b/guide/english/html/elements/heading-tag/index.md new file mode 100644 index 0000000000..55c9edfc52 --- /dev/null +++ b/guide/english/html/elements/heading-tag/index.md @@ -0,0 +1,17 @@ +--- +title: Heading Tag +--- +## Heading Tags + +There are 6 heading tags -- `

`, `

`, `

`, `

`, `

`, `
`. `

` is used for main heading and rest for subheadings at different levels. `

` heading's size is biggest and it decreases as we go towards `

`. Objective of having 6 headings is not to have headings of different size but to provide structure to the content. Size of headings can changed by using relative sizing in CSS. Generally one page should have one `

` element which helps the search engines to understand the topic of the page. + +### Example + +``` +

This is main heading.

+

This is subheading h2.

+

This is subheading h3.

+

This is subheading h4.

+
This is subheading h5.
+
This is subheading h6.
+```