Solve problem "Say Hello to HTML Elements" online - Learn Python 3 - Snakify

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 element.

Most HTML elements have an opening tag and a closing tag.

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.

The content on this page is licensed under Attribution-ShareAlike 4.0 International. Original authors: freeCodeCamp, the content was modified.