Menu
Coddy logo textTech

Recap - Formatting

Part of the Fundamentals section of Coddy's HTML journey. Lesson 11 of 60.

challenge icon

Challenge

Easy

Create an HTML document that includes all the formatting elements we've learned so far:

  1. A main heading (<h1>) with the text "Formatting Recap"
  2. A paragraph (<p>) that says: "This is a paragraph with bold and italic text." Make "bold" bold using <strong> or <b> and "italic" italic using <em> or <i>.
  3. Another paragraph that says: "Here is a line break:" followed by a line break (<br>) and the text "This is a new line."

Try it yourself

<!DOCTYPE html>
<html>
    <body>
        <!-- Write code here -->
    </body>
</html>

All lessons in Fundamentals

Practice on your own: Web playground