Markup Tags

or scroll down the page.

Return to Main Page of Ted’s HTML Tutorial

A “markup tag” is the fundamental characteristic of HTML.  Every markup tag is a command placed between “wickets” or “angle brackets”—a left bracket (<) and a right bracket (>).  Markup tags are not revealed by a web browser; they are invisible.

In most cases, markup tags (containing commands) come in pairs, with text or a graphic image located between the beginning and ending tags:

Pairs of markup tags are referred to as “non-empty” tags, because something is contained between the beginning tag and the ending tag.  A beginning tag and an ending tag are identical, except a “slash” (/) is placed before the command of the ending tag to tell the browser that the command has been completed.

Frequently, certain parameters are included within the beginning command tag, placed before the second bracket:

So a typical pair of non-empty HTML tags in a source code, with the first tag containing a command along with a few parameters, would resemble this: <COMMAND PARAMETER1="X" PARAMETER2="Y" PARAMETER3="Z">text</COMMAND>

Some HTML tags are referred to as “empty” tags, because they consist only of a single tag rather than a pair of tags.  That is, an “empty” tag consists only of a <COMMAND> tag and lacks an ending </COMMAND> tag.  Examples of non-empty and empty tags will be given in other sections.

I recommend using UPPERCASE letters for all HTML commands and associated parameters, because it is easier to distinguish them from regular text whenever one creates or proofreads an HTML source code document.

Proceed to Structuring Tags

Return to Main Page of Ted’s HTML Tutorial

Copyright © 1998– by Ted M. Montgomery.  All rights reserved.