Category: 

In HTML, what is a Text Tag?

Article Details
  • Written By: Camesha White
  • Edited By: J.T. Gale
  • Last Modified Date: 10 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...

Text tags, or HyperText Markup Language (HTML) tags, are commands placed around text to specify how the text is to appear on a webpage. Tags are the foundation of HTML and are used to format all elements on a webpage — not just text. The idea of text tags began in 1991 and became the standard for webpage design in 1996. HTML provides a standard that allows all websites to function in the same way, regardless of the user's location or computer operating system.

Generally, text tags are used to add formatting, special effects, or alignment properties to text on the Web. Every heading, subheading, or centered title is a product of an HTML text tag. Typically, developers, programmers, and other skilled information technology (IT) professionals work with tags. Although creating tags was once a skill only few professionals possessed, there now are tools to help the novice experiment on his or her own.

To understand tags, one must first understand position is more important than arrangement. Although an HTML tag is only a few characters, it is critical to have a keen eye for detail. If only one character is misplaced or left out, the tag will not be applied at all. As long as the tags are in the correct sequence, how they are spaced does not matter.

Ad

Creating a text tag typically involves placing a formatted tag at the beginning and the ending of the text the developer wants to manipulate. For example, if he or she wants to make a piece of text bold, a <b> text tag is placed at the beginning of the word or phrase — this is called the opening tag. Then, a closing tag of </b> is placed at the end of the word or phrase to close out the HTML command. A text tag can be used to create paragraphs, italics, underline, bold, ordered lists, subscripts, superscripts, trademarks, dashes, and alignment on the webpage.

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}