Let’s explore the basic anatomy of an HTML element. Line 9 of index.html contains a heading element:

<h1>You're Building a Website!</h1>
  1. All HTML elements begin with an opening tag. In this case, the opening tag is <h1>.

  2. Most elements require a closing tag, denoted by a /. In this case, the closing tag is </h1>.

  3. The website user only sees the content between the opening and closing tags.

Note: There are several other HTML elements in index.html in addition to the heading element. Don’t be alarmed! We will encounter most of these in more depth during the lesson.



In index.html, change the text that appears between the <h1> opening tag and the </h1> closing tag.

Run your code to see the new text shown in the web browser!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?