Congratulations on completing the second unit of HTML & CSS! In this unit, you learned how to add content to a web page using some of the most common HTML elements.
Let's review what you've learned so far:
- You can add headings of different sizes using the different headings elements:
- Paragraphs are added with the
- Unordered lists are created with the
<ul> element and list items are added using the
- Ordered lists are created with the
<ol> element and list items are added using the
- You can add links to your web page using the
<a> element - don't forget the
- Images can be added with the
<img> element - don't forget the
- Images help support visually impaired users when
<img> elements include the
- You can turn anything into a link by wrapping it with an
- White space in the HTML file does not affect the positioning of elements in the browser.
- The W3C recommends 2 spaces of indentation for nested HTML elements.
- Comments are used to take notes inside of an HTML file. You can add a comment with
<!-- This is a comment -->.
So far, the content you added in this unit isn't very visually appealing. In the next unit, you'll learn how to modify the appearance of your content using CSS.