• Theory
  • Theory

Text Markup, Mastery Challenge 2

You need to use the tags you learned in the chapter on text markup. Follow the example and choose the appropriate text tags.

This additional version of the challenge is designed to reinforce your text markup skills.

Solution

The solution to the challenge will be available in a few minutes. Use it if you encounter difficulties. In the meantime, try to complete the challenge on your own.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Mathematical Formulas</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <h1>Mathematical Formulas</h1>
    <p>
      The formula for the area of a square: a<sup>2</sup>. The square root of number b is written as √b.
    </p>
    <p>
      In algebra, indices are also used: x<sub>1</sub>, x<sub>2</sub> are the roots of the equation.
    </p>
  </body>
</html>
  • index.html
HTML
HTML

You’ve gone to a different page

Click inside the mini-browser to shift the focus onto this window.

100%
Granny Muffin

Easy there, pal!

To access the Text markup challenges in the HTML and CSS basics, you need to sign up and subscribe first.