Heading Tags

The HTML heading tags must be place between the open and close body tags. There are six heading sizes ranging from H1 - H6. The H1 tag is the largest heading and H6 will be the smallest tag. Heading tage require an open and closed tags.

Example 1

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Your Page Title Go Here</title>
  5. </head>
  6. <body>
  7. <h1> This Is A Heading 1 Tag </h1>
  8. </body>
  9. </html>

You may use these heading tags in your document:

  • <h1> </h1>
  • <h2> </h2>
  • <h3> </h3>
  • <h4> </h4>
  • <h5> </h5>
  • <h6> </h6>

Paragraph Tags

The HTML paragraph tags will go between the open and closed body tags. They are used to separate your paragraphs on the web page body.

Example 2

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Your Page Title Go Here</title>
  5. </head>
  6. <body>
  7. <h1> This Is A Heading 1 Tag </h1>
  8. <p> This is a paragraph tag </p>
  9. </body>
  10. </html>

If you have any questions about heading and paragraphs html tags, please use the dussicion group or send me an PM here at Wealthy Affiliate.

Up Next: HTML Hyperlink Tags



Join the Discussion
Write something…
Recent messages
WilliamBH Premium
Thanks LeNard .. I found that a very useful explanation. Cheers, William.
Reply
seconds2work Premium
Thank you William, I plan to put out more training like this
Reply
MKearns Premium
It's been around a long time. I used to do some raw coding in it 15 years ago!
Reply
seconds2work Premium
Back in the 1990's I started learning WYSISYG ( what you see is what you get)

It's the same, just about.

Thanks Michael
Reply
JohnFry Premium
Thanks for the information!
Reply
seconds2work Premium
Thank you John
Reply
kasage00 Premium
thanks for sharing!
Reply
seconds2work Premium
Thank you Karin, for checking it out
Reply
bigrog44 Premium
Thanks for sharing.
Reply
seconds2work Premium
You're welcome Roger
Reply
Top