NMSU home page ICT Home Page
Send a message to:
Computer Help Accessibility Services Departments Guidelines/Policies About Us Computer Labs
   


Tags

When a web browser displays a page such as the one you are reading now, it reads from a plain text file, and looks for special codes or "tags" that are marked by the < and > signs. The general format for a HTML tag is:
<tag_name>string of text</tag_name>
As an example, the title for this section uses a header tag:
<h4>Tags</h4>
This tag tells a web browser to display the text Tags in the style of header level 4. HTML tags may tell a web browser to bold the text, italicize it, make it into a header, or make it be a hypertext link to another web page. It is important to note that the ending tag,
</tag_name>
contains the "/" slash character. This "/" slash tells a web browser to stop tagging the text. Many HTML tags are paired this way. If you forget the slash, a web browser will continue the tag for the rest of the text in your document, producing undesirable results (as an experiment you may want to try this later).

Note: A WWW browser does not care if you use upper or lower case. For example, <h4>...</h4> is no different than <H4>...</H4>

Search the NMSU site Phone numbers and e-mails of faculty, staff, and students Go to NMSU Home

Questions? Comments? Send us e-mail.

Last Modified: Sunday, January 13, 2008

Copyright 2006, Regents of New Mexico State University