HTML and CSS Reference
In-Depth Information
4.7.2.2. The dir and lang attributes
The dir attribute lets you advise the browser in which direction the text
within the <q> segment should be displayed, and lang lets you specify
the language used within that tag. [ The dir attribute, 3.6.1.1 ] [ The lang
attribute, 3.6.1.2 ]
4.7.2.3. The class, id, style, and title attributes
Use the style attribute to specify an inline style for the <q> tag, or use
the class attribute to apply a predefined style class to the tag. [ Inline
Styles: The style Attribute, 8.1.1 ] [ Style Classes, 8.3 ]
You may assign a unique ID to the <q> tag, as well as a title, using
the respective attribute and accompanying quote-enclosed string value.
[ The id attribute, 4.1.1.4 ] [ The title attribute, 4.1.1.5 ]
4.7.2.4. Event attributes
As with most other tagged segments of content, user-related events can
happen in and around the <q> 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 mul-
timedia event. [ JavaScript Event Handlers, 12.3.3 ]
 
Search WWH ::




Custom Search