What is an HTML Tag?

1) HTML Tags are the first and last parts in this diagram. Most of the time tags need to be opened and closed.

2) HTML tags need to surround your content. Think of it like a sandwhich, the top and bottom pieces of bread are the HTML tags, the middle is the content. The middle content can change based on what kind of HTML tags you use.

3) HTML tags can make your elements do many different things. Make text certain colors, underline, make text a paragraph, make elements centered on the page etc. See the chart for a bunch of different html tags and uses.

4) Most tags need to open and close. They open using the tag name and close with the tag name with a slash in front of the name. There are exceptions to some tags.

© 2020 Farragut Technology Program