File Under: Glossary

Tags (HTML)

Tags are commands written into a document that specifies how it should be formatted. In HTML, a tag is represented as
<TAG>
. For example, an HTML file can tell a browser to render text as boldfaced if in the text is written as
<b>text</b>
. Note how the slash in the second tag closes the bookended tags.