HTML and CSS Reference
In-Depth Information
4.8.1.1. The dir and lang attributes
The
dir
attribute lets you advise the browser in which direction the text
within the
<address>
segment should be displayed, and
lang
lets you
specify the language used within that tag. [
The dir attribute, 3.6.1.1
]
4.8.1.2. The class, id, style, and title attributes
Use the
style
attribute to specify an inline style for the
<address>
tag,
or use the
class
attribute to apply a predefined style class to the tag.
You may assign a unique ID to the
<address>
tag, as well as a title, using
the respective attribute and accompanying quote-enclosed string value.
4.8.1.3. Event attributes
As with most other tagged segments of content, user-related events can
happen in and around the
<address>
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
]