Lesson: HTML5 and CSS
Say Hello to HTML Elements
You can edit
code in your
text editor, which we've embedded into this web page.
Do you see the code in your text editor that says
<h1>Hello</h1>? That's an HTML
Most HTML elements have an
opening tag and a
Opening tags look like this:
Closing tags look like this:
Note that the only difference between opening tags and closing tags is that closing tags have a slash after their opening angle bracket.
Each challenge has tests that you can run at any time by clicking the "Run tests" button. Once you get all tests passing, you can advance to the next challenge.
To pass the test on this challenge, change your
h1 element's text to say "Hello World" instead of "Hello". Then click the "Run tests" button.