Category: 

What are the Different Types of Tag Technology?

Article Details
  • Written By: John Lister
  • Edited By: Bronwyn Harris
  • Last Modified Date: 15 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Built at the request of Dag Hammarskj√∂ld, the United Nations Headquarters has a meditation room dedicated to silence.   more...

October 1 ,  1890 :  Yosemite National Park was established.  more...

Tag technology involves pieces of data being labeled in a standardized fashion. The most well-known use of this is in HTML, which tags information on webpages to control its layout and appearance. Other web-based tagging systems include CSS and XML.

Hypertext Mark-Up Language, or HTML, is likely the most used form of tag technology. It is the basis of how web pages work and why they are different than simple text documents. HTML coding involves sections of text being enclosed in a tag. The tag begins with the sign. Tags are used in pairs, with the second repeating the tag but preceding it with a / sign to show that the section of text to be tagged has ended.

Computer software which handles HTML, such as a web browser, knows that text tagged in this way is information about the content of the page, rather than text to be displayed to the reader. Most HTML tags relate to the visual formatting of the text, such as it being shown in bold, italics or underlined. Some tags also describe its function, most notably when text links to another web page.

Ad

A more advanced form of tag technology used on websites is Cascading Style Sheets or CSS. When writing a page in CSS, the web designer will use tags to indicate the type of text a section is, for example, a sub-heading or a long quotation, but will not specifically state how this text should appear. Instead this information will be contained in a separate document known as a stylesheet. One advantage of this is that updating the stylesheet can instantly change the appearance of all text with a particular tag across an entire website rather than each example having to be individually updates. Another advantage is that the person viewing the site can use their own stylesheet and have more control about how the page appears.

Extensible Markup Language, or XML, takes a different approach to tag technology. Instead of being limited to determining how text appears, XML tags can describe the type of information contained in that text. This is similar to the use of fields in a database and means XML-based webpages and documents are much easier to integrate into database tools. Unlike HTML, which uses a standardized set of tags, XML allows customizable tags. For example, if a website of city guides used an XML tag named "busroutes" to mark up the section on each page listing local bus routes, it would be simple to automatically produce a new page which brought together bus route information from all cities.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}