HBCMS更多的中文手册参考:

:active Pseudo-class

DHTML文档教程

Sets the style of an a element when the link is engaged or active.

dhtml语法

HTML [A]:active { sRules }
ScriptingN/A

DHTML可能的值

sRulesString that specifies one or more Cascading Style Sheets (CSS) attribute/value pairs.

Remarks

The default value of the :active pseudo-class is browser-specific.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

active means that the user is navigating the link. the link has been activated, and some action is being performed but is not yet complete.

the :active pseudo-class is often used with :hover, :link, and :visited, the pseudo-classes that affect the other states of a link.

DHTML代码范例

The following style rule uses the :active pseudo-class to set the font-weight and color attributes of an active link in a document.

<STYLE>
A:active { font-weight:bold; color:purple }
</STYLE>

是否符合公共标准

This pseudo-class is defined in CSS, Level 1 (CSS1) Non-Microsoft link.

Applies To

A