Back to Freecodecamp

HTML Foundations Lesson A

curriculum/challenges/english/blocks/top-learn-html-foundations/637f4e0e72c65bc8e73dfe1e.md

latest1.2 KB
Original Source

--description--

Almost all elements on an HTML page are just pieces of content wrapped in opening and closing HTML tags.

Opening tags tell the browser this is the start of an HTML element. They are comprised of a keyword enclosed in angle brackets <>. For example, an opening paragraph tag looks like this: <p>.

Closing tags tell the browser where an element ends. They are almost the same as opening tags; the only difference is that they have a forward slash before the keyword. For example, a closing paragraph tag looks like this: </p>.

A full paragraph element looks like this:

--assignment--

Watch Kevin Powell’s <a href="https://www.youtube.com/watch?v=LGQuIIv2RVA&list=PL4-IK0AVhVjM0xE0K2uZRvsM7LkIhsPT-" target="_blank">Introduction to HTML video</a>

--questions--

--text--

What are HTML tags?

--answers--

HTML tags tell the browser what content an element contains.


HTML tags tell the browser when to load its content.


HTML tags tell the browser what content the next element contains.

--video-solution--

1