h1 to h6
<h1> begin H1 tag. </h1> end H1 tag.
<h2> begin H2 tag. </h2> end H2 tag.
<h3> begin H3 tag. </h3> end H3 tag.

  • Indicates headings of a page and shows structure.
  • H1 headings are used as main headings; followed by H2 sub-headings; then, the less important, H3 headings and so on.
  • Do not use headings to make text big and bold.

Example:

Source Code:

<!DOCTYPE html>
<html>
<body>

<h1>This is a H1 heading.</h1>
<h2>This is a H2 heading.</h2>
<h3>This is a H3 heading.</h3>

</body>
</html>

Results – What it Looks Like in the Browser:

heading browser

Related

Please see: w3schools.com for further details.
HTML tag of the Month – <!DOCTYPE>
HTML tag of the Month – <html>
HTML tag of the Month – <head>
HTML tag of the Month – <title>
HTML tag of the Month – <body>
HTML tag of the Month – <div>

Tagged with →  
Share →
Buffer