HTML has 6 heading levels, from <h1> (largest) to <h6> (smallest).
HTML
Learn the building blocks of web pages.
Headings
Run this example to see how it works and then try the exercise.
Click "Run" to see the example in action...Your task: Create an h1 heading with the text "Welcome"
Click "Run" to execute your code...Which tag creates the largest heading?
SUMMARY
In this section, you learned how to create headings. Next, you'll learn how to create paragraphs.
Paragraphs
The <p> tag creates a paragraph of text.
Run this example to see how it works and then try the exercise.
Click "Run" to see the example in action...Your task: Create a paragraph with the text "I love coding"
Click "Run" to execute your code...What does the <p> tag create?
SUMMARY
In this section, you learned how to create paragraphs. Next, you'll learn how to format text.
Text Formatting
Use <strong> for bold and <em> for italic text.
Run this example to see how it works and then try the exercise.
Click "Run" to see the example in action...Your task: Create a paragraph where "awesome" is bold
Click "Run" to execute your code...Which tag makes text italic?
SUMMARY
In this section, you learned how to format text. Next, you'll learn how to create links.
Unlock 10 More Lessons
You've completed the free preview! Upgrade to Pro to access all 12 lessons in this course, plus advanced projects and certificates.
- Links
- Images
- Unordered Lists
- Ordered Lists
- Divs and Spans
- Input Fields
- Buttons
- Forms
- Tables