tag
A tag is a small label you attach to something so you can find it later. People tag photos with names, tag posts with topics, or tag items in a store with prices. It is a way of marking something for attention or sorting.
What a model may hear
- named label in markup HTML, XML, web development
- interpret as angle-bracketed element like <div> or <p>, expect valid syntax, try to close unclosed tags
- classification label content management, social media, databases
- treat as metadata for filtering, search, or recommendation systems
- version identifier Git, version control
- look for a specific commit reference, expect alphanumeric labels like v1.2.3
- memory address label assembly language, low-level programming
- treat as a named location in code, expect jumps or references to that address
- radio-frequency identifier hardware, IoT, logistics
- assume physical RFID tag, expect discussion of frequencies, readers, and scanning range
Where people and models part ways
“Tag this photo with my mom”
Meant: Label the photo with the word 'mom' or 'mother'
May be taken as: Generate HTML <mom> element or try to parse 'mom' as markup syntax
Say instead: “Add the text label 'mom' to this photo's description”
“Tag the important parts”
Meant: Highlight or mark key sections for review
May be taken as: Insert XML or HTML tags into the text, breaking the original format
Say instead: “Mark these sections with notes so I can find them later”
“What tags should I use?”
Meant: What descriptive keywords fit this content?
May be taken as: Recommend HTML tag names like <article> or <section>, or Git version tags
Say instead: “What keywords or topic labels should I attach to this content?”
“Remove all the tags”
Meant: Take off the labels and categories
May be taken as: Strip HTML markup from a document, potentially destroying its structure
Say instead: “Remove all the category labels, but keep the formatting”
Tips
- Say 'text label' or 'keyword' if you do not mean HTML or markup
- Say 'HTML element' or 'markup tag' when that is what you mean
- Mention 'categories' or 'labels' for sorting and filtering tasks
- Say 'version label' or 'release name' for Git or software versions
- Specify 'physical RFID' or 'electronic badge' for hardware tracking
Often confused with
- label
- broader, includes physical stickers and UI text
- hashtag
- specific to social media, starts with #
- token
- a unit of text in processing, not a category
- element
- the whole HTML tag plus its content
- attribute
- extra information inside a tag, not the tag itself
- category
- a broader bucket, often with only one assigned