Headers create prominent text in the body of your web page. Headers come in different levels. For example, a header 1, or h1, is the largest, while a header 3, or h3, is smaller, and a header 6, or h6, smaller still. You can create headers in html using the h1, h2, h3, h4, h5, and h6 tags. Here's an example:
<h1>I'm a header 1!</h1>
:keyboard: Create a header for your web page
Edit the index.html file in your main branch by using this direct link or going to the Code tab, clicking on the index.html file, clicking the pencil :pencil: to edit the HTML.
Between the body tags, add an opening <h1> tag, some content for the header, and a closing </h1> tag.
In the Commit changes section, enter a commit message that describes what you've done.
Ensure you've selected Create a new branch for this commit and start a pull request.
Give your branch a descriptive name, like add-headers-and-images.
Step 6: Add a header
Take a peek at your shiny new web page! It can be found at: https://saraleeodhiambo.github.io/intro-html/
Headers create prominent text in the body of your web page. Headers come in different levels. For example, a header 1, or h1, is the largest, while a header 3, or h3, is smaller, and a header 6, or h6, smaller still. You can create headers in html using the h1, h2, h3, h4, h5, and h6 tags. Here's an example:
:keyboard: Create a header for your web page
index.html
file in your main branch by using this direct link or going to the Code tab, clicking on theindex.html
file, clicking the pencil :pencil: to edit the HTML.<h1>
tag, some content for the header, and a closing</h1>
tag.add-headers-and-images
.Look for my next response in your pull request