What is / how do I use the body tag in HTML?

1) The body tag is highlighted in the red rectangle. Take a look! Its very important to note the ONLY visible things on your website are located nested inside the body tag. Every other tag (with a few exceptions) is invisible! The body tag is the fun part of your HTML.

2) As stated above, tags need to be nested inside the body tag. See here, both an H1 element and p element are inside the body, therefore visible in the basic website.

© 2020 Farragut Technology Program