Recap

In the second lesson, we learned that:

  • Headings are created using the h1 - h6 elements, where h1 is the largest and h6 is the smallest.
  • Paragraphs are created using the p element.
  • We can divide HTML into sections using the div element.
  • We can make text italic using the em element, or bold using the strong element.
  • We can create line breaks using the br element, which has no content or closing tag.
  • We can create a list using the ol (ordered) or ul (unordered) element, and list items using the li element.
  • We can create comments using this syntax: <!-- content -->.

In this lesson, we learned how to create textual content for web pages. In the next lesson, we will learn how to create not only media content, such as images and videos, but also how to use links and what attributes are.

Instructions

Congratulations on completing the second lesson! The editor contains your final code from this lesson. In the next lesson, we will build on it. Now you can try customizing the page with your newly acquired knowledge.

Start programming for free

By signing up, you agree to the Terms of Service and Privacy Policy.

Or sign up with:

8/8

Recap | Start Coder