Embellishing Text
Often, text is to have specific properties, e.g be printed in a specific font, be italic, etc.
To distinguish the text from the modifiers that describe its properties, tag the modifiers
- A tag is a text string, <tag> or </tag>, that modifies text
- Pairs of tags surround the tagged text, e.g. <title>Gone with the Wind</title>
- The “opening” and “closing” tags differ in that the close is indicated by a slash
- Not all tags have a “match”
Software interprets the tags when the text is being processed, e.g. printed or displayed as a web page