Sellers Directories

All Basic HTML Tags

I am often asked what HTML tags are actually allowed in auction site listings, me pages, store fronts and extra store pages. The list of disallowed or "shouldn't use" tags is much shorter and so I have posted it before, but I've decided it might not be a bad idea to list all standard HTML tags and indicate if they are suitable for auction site pages and whether or not they have been officially deprecated; ie: should no longer be used in favor of more suitable methods, especially CSS.

Please note that although form elements are allowed in eBay me pages, auction and store listings, they are not currently supported -- and in fact are disallowed -- in store front and extra store pages. Form elements are indicated with a blue "yes" under the A/S (auction site) heading in the table below. Some usage and acceptability will vary from auction site to auction site.

Note also that this is not a tutorial on the usage of these tags. The "Used For" column in the table below gives minimal information. See other sources, ie: other pages on this site, other tips sites and other reference works for tag usage details.

HTML TagsA/SUsed For
<a> </a>yesanchor or link
<abbr> </abbr>yesdesignates an abbreviation
<acronym> </acronym>yesdesignates an acronym
<address> </address>yesdesinates contact information
<applet> </applet>yesused to call JavaScript - deprecated**
<area />yesdefines active readion in an image map
<b> </b>yesactivates bold text
<base />nodefines path to current document
<basefont />yessets font rules - deprecated**
<bdo> </bdo>n/alimited browser support
<big> </big>yesrenders next larger font size
<blockquote> </blockquote>yessets off long quotation
<body> </body>nodefines the body section of a web page
<br />yesforces line break
<button> </button>n/alimited browser support
<caption> </caption>yesbrief description of a table
<center> </center>yescenters content - deprecated**
<cite> </cite>yescitation or reference
<code> </code>yesdisplay computer code
<col> </col>yesshortcut to assinging widths
<colgroup> </colgroup>yesgroups 'col' assignments
<dd> </dd>yesdefinition part of definition list
<del> </del>n/alimited browser support
<dfn> </dfn>yesdesignates defining instance of a term
<dir> </dir>yesmulti-column lists - deprecated**
<div> </div>yesdesignates a division within the body
<dl> </dl>yesdesignates a definition list
<dt> </dt>yesterm part of a definition list
<em> </em>yesdesignates emphasis in text
<fieldset> </fieldset>n/alimited browser support
<font> </font>yesdesignate text characteristics - deprecated**
<form> </form>yescontainer for form elements
<frame />nodefines and apportions browser window
<frameset> </frameset>nocontains frame definitions
<h1> </h1>yesheading level one
<h2> </h2>yesheading level two
<h3> </h3>yesheading level three
<h4> </h4>yesheading level four
<h5> </h5>yesheading level five
<h6> </h6>yesheading level six
<head> </head>nodesignates head section of web page
<hr />yeshard rule or line
<html> </html>nocontainer for entire web page
<i> </i>yesrenders text as italicized
<iframe> </iframe>nocreates inline frame
<img />yesdesignates placement of an image file
<input />yesform data gathering control
<ins> </ins>n/alimited browser support
<isindex />nodeprecated**
<kbd;> </kbd>yesdesignates text to type on keyboard
<label> </label>n/alimited browser support
<legend> </legend>n/alimited browser support
<li> </li>yesdesignates a list item
<link />nolink to other documents
<map> </map>yescontainer for area elements
<marquee> </marquee>*yesscrolling text or graphics
<menu> </menu>yesmulti-column lists - deprecated**
<meta />noconveys hidden information
<noframes> </noframes>nocontent for browsers without frames support
<noscript> </noscript>yescontent for browsers without script support
<object> </object>yesreplace applet/embed; renders data types
<ol> </ol>yescontainer for ordered lists
<optgroup> </optgroup>n/alimited browser support
<option> </option>yesselect list form element
<p> </p>yesdesignates a paragraph
<param />yespass parameters to object element
<pre> </pre>yespreformatted text - displays as entered
<q> </q>n/alimited browser support
<s> </s>yesrenders text as strike through - deprecated**
<samp> </samp>yesdesignates sample output
<script> </script>yescontainer for script coding
<select> </select>yescontainer for option elements
<small> </small>yesrenders text one size smaller
<span> </span>yesconvenience in line container for CSS
<strike> </strike>yesrenders text as strike through - deprecated**
<strong> </strong>yesdesignates stronger emphasis than em
<style> </>nocontainer for embedded style sheet
<sub> </sub>yesrenders text as subscript
<sup> </sup>yesrenders text as superscript
<table> </table>yescontainer for tabular content
<tbody> </tbody>yesoptional table division designator
<td> </td>yesdefines table data cell
<textarea> </textarea>yesmultiline text input control
<tfoot> </tfoot>n/alimited browser support
<th> </th>yesheader titles for table cells
<thead> </thead>n/alimited browser support
<title> </title>nodocument working title - not displayed
<tr> </tr>yesdesignates table row of data cells
<tt> </tt>yesrenders text as monospaced 'teletype'
<u> </u>yesrenders text underlined - deprecated**
<ul> </ul>yescontainer for unordered list
<var> </var>yesdesignates content as variable name

*Although a non-standard tag, I have included marquee due both to it's popularity and that it is supported by most browsers.

**According to the HTML standard, "A deprecated element or attribute is one that has been outdated by newer constructs. deprecated elements are defined in the reference manual in appropriate locations, but are clearly marked as deprecated. deprecated elements may become obsolete in future versions of HTML." Deprecated elements should, therefore, no longer be used in current coding.

It's always the right time to use good code!

[ back | top ]

Sign up for PayPal and start accepting credit card payments instantly.

design by wizard_mithrandir
Copyright © 2002, 2008, by Stephen B. Henry