Lesson 2: The Essential HTML Boilerplate

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My First Lesson | Coding Learners</title>
</head>
<body>

    <h1>Welcome to Coding Learners</h1>

</body>
</html>

1. <!DOCTYPE html>

This is the Root Element. Everything on your page—literally every single line of code—must live inside the opening <html> and the closing </html> tags.

You may also like...

2 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *