Locked lesson.
About this lesson
Exercise files
Download this lesson’s related exercise files.
Exploring Common HTML Tags.docx59.3 KB Exploring Common HTML Tags - Solution.docx
59.3 KB
Quick reference
Exploring Common HTML Tags
Let's explore some of the common HTML tags that we've used so far, and some new ones.
When to use
Depending on what sort of text effect you would like to see, you will use different HTML tags to achieve your desired result.
Instructions
To format text with specific spacing, use the <pre> tag.
To create a line break, use the <br /> tag.
To create different heading sizes, use the following H tags:
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
...with <h1> being the largest text and <h6> being the smallest text. Heading tags are used to create emphasis (headlines etc).
Hints & tips
- <h1> tags are the largest heading tag
- <h6> tags are the smallest heading tags
- <br /> is used for line breaks
- <pre> is used to format spacing of text
Lesson notes are only available for subscribers.