HTML and CSS Reference
In-Depth Information
4.6.6.2. The class, id, style, and title attributes
Use the
style
attribute to specify an inline style for the
<center>
tag, or
You may assign a unique ID to the
<center>
tag, as well as a title, using
the respective attribute and accompanying quote-enclosed string value.
4.6.6.3. Event attributes
As with most other tagged segments of content, user-related events can
happen in and around the
<center>
tag, such as when a user clicks or
double-clicks within its display space. The current browsers recognize
many of these events. With the respective
on
attribute and value, you
may react to those events by displaying a user dialog box or activating
some multimedia event. [
JavaScript Event Handlers, 12.3.3
]
4.6.7. The <listing> Tag (Obsolete)
The
<listing>
tag is an obsolete tag, explicitly removed from the HTML
4 standard, meaning that you shouldn't use it. We include it here for his-
torical reasons because some browsers support it, and it has the same
effect on text formatting as the
<pre>
tag with a specified width of 132
characters.