Core HTML

The <h1> Tag

We generally want to add a heading or a title to our text so that readers know what the text is at a glance. Here, we have added a title above the Apostles' Creed text as an h1 heading.

H1Tag.html

<!DOCTYPE html>
<html>
  <head>
    <title>XoaX.net's HTML: <h1> Tag Example</title>
  </head>
  <body>
    <h1>The Apostles' Creed</h1>
    <p>I believe in God, the Father Almighty, Creator of heaven and earth.</p>
    <p>I believe in Jesus Christ, His only Son, our Lord; who was conceived by the Holy Ghost,
    born of the Virgin Mary, suffered under Pontius Pilate, was crucified; died, and was buried.
    He descended into hell. On the third day, He arose again from the dead. He ascended into
    heaven and sits at the right hand of God, the Father Almighty. He will come to judge the
    living and the dead.</p>
    <p>I believe in the Holy Ghost, the Holy Catholic Church, the communion of Saints, the
    forgiveness of sins, the resurrection of the body, and the life everlasting. Amen.</p>
  </body>
</html>
 

Output

 
 

© 2007–2024 XoaX.net LLC. All rights reserved.