Spiegato, Home

Technology and Gadgets

In HTML, what is Tagging?

  • Published by Spiegato
  • 2 min read

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: .

Tagging indicates how text should look. For example, if the selected text is to be bold, placing the tag before the text and the tag after it will ensure that the enclosed content appears in bold. Similarly, tagging, or enclosing, words with and 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, should be the first text on your page and 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:

Indicates the beginning of your HTML document.

The header will contain the title and other style tags.

This is the title of the page.

This tag closes the title tag.

This tag closes the header tag.

This is where the remaining information for your document will be placed, including HTML tags for the content.

Key terms in this article

Related articles

  • What is Meta Tagging?

    Meta tagging is the process of placing specific pieces of information into the language that creates a Web page. Many types of meta elements may be placed…

  • What Is HTML ASCII?

    The fonts frequently used in hypertext markup language (HTML) documents are largely based on the original character set established under the American…

  • What Are HTML Scripts?

    HyperText Markup Language (HTML) documents can contain pieces of programming code, or links to source code files, that are executed at different points…

  • What Is an HTML Database?

    A hypertext markup language (HTML) database is a program that can collect and display information over the Internet. This database software interfaces…

  • What Is HTML Programming?

    A programmer utilizes the syntax of hypertext markup language (HTML) to create a document through HTML programming that can be viewed as an Internet…