Skip to content

HTML

The HTML you will need for this course

  • Lesson
  • 1 min read
  • 2 of 4 in this chapter

HTML

For this course, you will need an HTML document to start with. We're going to use the index.html file above - you can either download that file or copy and paste this code:

HTML
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Web Page</title>
</head>
<body>
    <h1>Heading 1</h1>

    <p>This is a paragraph.</p>

    <h1>Heading 2</h1>

    <p>This is another paragraph.</p>
    <p>A third paragraph.</p>
</body>
</html>