In HTML, What Is Tagging?

Tagging provides the needed information for the Web page to correctly display text, images and other elements.
Article Details
  • Written By: Dorothy Distefano
  • Edited By: Michelle Arevalo
  • Last Modified Date: 27 January 2015
  • Copyright Protected:
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Japanese soldiers were heard to shout variations of "To hell with Babe Ruth!" during fighting in the South Pacific.  more...

January 30 ,  1948 :  Gandhi was assassinated.  more...

Hyper Text Markup Language (HTML) is the code used by a web page that determines how that page is viewed. Formatting text is accomplished by tagging, a process which informs the browser what special characteristics to apply to the text on a specific part of the page. HTML tags are written in English, and are generally not difficult to learn.

To get an idea of what HTML really looks like, you can right-click on the web page you are currently viewing, and then click on either View Source, View page source, or Inspect element. A new window or tab will open and display the HTML source code for the page. These tags will look like this: <tags>.

Tagging indicates how text should look. For example, if the selected text is to be bold, placing the <bold> tag before the text and the </bold> tag after it will ensure that the enclosed content appears in bold. Similarly, tagging, or enclosing, words with <italic> and </italic> will create italicized content on the web page.

When using tagging, every HTML function requires both an opening and closing tag. Tags are enclosed in angle brackets. The first bracket set contains the command and the second uses a backslash before the closing command. If the tag is not closed, the desired text attribute will not be applied.


Every bit of text that is to be displayed on a web page must be placed between HTML tags. In other words, <html> should be the first text on your page and </html> should be at the end. These commands may be in either lower case or caps, but not a combination.

Your web page may include a wide variety of tags, but it will likely contain these commonly used ones, in this order:

Tagging can identify text attributes such as titles, line breaks, color, font, links, and more. Header tags are used to determine text size. Many websites are available with full listings of HTML tags for reference. Simply perform an Internet search for HTML tags to find some resources.



You might also Like

Discuss this Article

Post your comments

Post Anonymously


forgot password?