• Theory
  • Theory

Text Markup, Mastery Challenge 6

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>Basics of Programming</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <h1>Basics of Programming</h1>
    <p><strong>Programming</strong> is an exciting task that requires attention to detail and a logical approach.</p>
    <h2>Algorithms</h2>
    <p>One of the important aspects of programming is understanding algorithms. For example, here is how a simple code for printing text to the screen might look:</p>
    <pre><code>print("Hello, world!")</code></pre>
    <p><em>This is a simple code, but it demonstrates the basics of working with text in Python.</em></p>
    <h3>Conclusion</h3>
    <p><i>Learning programming begins with simple tasks, which then evolve into more complex projects.</i></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.