Say Hello to HTML Elements

Say Hello to HTML Elements

Basic HTML and HTML5: Say Hello to HTML Elements

Welcome to freeCodeCamp’s HTML coding challenges. These will walk you through web development step-by-step.

First, you’ll start by building a simple web page using HTML. You can edit codein your code editor, which is embedded into this web page.

Do you see the code in your code editor that says <h1>Hello</h1>? That’s an HTML element.

Most HTML elements have an opening tagand a closing tag.

Opening tags look like this:

<h1>

Closing tags look like this:

</h1>

The only difference between opening and closing tags is the forward slash after the opening bracket of a closing tag.

Each challenge has tests you can run at any time by clicking the “Run tests” button. When you pass all tests, you’ll be prompted to submit your solution and go to the next coding challenge.


To pass the test on this challenge, change your h1element’s text to say “Hello World”.


Tests:

Your h1element should have the text “Hello World”.

Leave a Reply

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