Home : Internet Terms : Tag Definition


On clothes, tags usually indicate the brand, size of the garment, fabrics used, and the washing instructions. In Web pages, tags indicate what should be displayed on the screen when the page loads. Tags are the basic formatting tool used in HTML (hypertext markup language) and other markup languages, such as XML. For example, to create a table on a Web page, the <table> tag is used. The data that should be inside the table follows the <table> tag, and the table is closed with a </table> tag.

If you want something to show up in bold on a Web page, you would use the bold tag. For example, the HTML:

This site is the <b>best website</b> ever!

would show up as:

This site is the best website ever!

Since there is often a need to format content within more general tags, the tags can be "nested," meaning one tag can enclose one or more other tags. For example:

<span style="font-family: Times">This is the Times font, and <i>this is in italics</i>. Pretty exciting, huh?</font>

would should up as: This is the Times font, and this is in italics. Pretty exciting, huh?

Tags are a fundamental part of HTML and they are pretty simple to understand. If you want to build a Web site of your own, you can either create it from scratch (using a text editor and typing your own tags) or you can use a layout program like Macromedia Dreamweaver, which will generate the tags for you. Best of all, tags used in markup languages don't itch or chafe your neck.

Cite this definition:


TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definition of Tag. It explains in computing terminology what Tag means and is one of many Internet terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this Tag definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!

Subscribe to the TechTerms Newsletter to get featured terms and quizzes right in your inbox. You can choose to receive either a daily or weekly email.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe at any time.
Questions? Please contact us.