freeCodeCamp Challenge Guide: Say Hello to HTML Elements

freeCodeCamp Challenge Guide: Say Hello to HTML Elements
0

#1

HTML elements are written with a starting tag, an ending tag, and the content in between:

  • <tagname>content</tagname>

The HTML element is everything from the start tag to the end tag:

  • <p>My first HTML paragraph.</p>

Opening tags look like this: <h1>, and closing tags look like this: </h1>

  • Note that the only difference between opening tags and closing tags, is that closing tags have a slash after their opening angle bracket. The slash in the closing tag is very important because it indicates that the tag is the end of the element.

Hint: Make sure the text in your <h1> element says “Hello World” and that the element remains properly closed with a </h1>


#2

Zabrin Jama.c


#3

This is what is meant by opening and closing angle brackets in either an opening tag or a closing tag:

< opening angle bracket.

closing angle bracket >


#4