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
- <!DOCTYPE html>
- <html>
- <head>
- <title>Your Page Title Go Here</title>
- </head>
- <body>
- <h1> This Is A Heading 1 Tag </h1>
- </body>
- </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
- <!DOCTYPE html>
- <html>
- <head>
- <title>Your Page Title Go Here</title>
- </head>
- <body>
- <h1> This Is A Heading 1 Tag </h1>
- <p> This is a paragraph tag </p>
- </body>
- </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…