asp.net.ph

Skip Navigation Links

selectorText Property

Language References


DOM Level 2 Specification.

Returns a string that identifies what elements the corresponding rule applies to.

Syntax


HTML N/A
Script [ sSelectorText = ] rule.selectorText

Possible Values

sSelectorText String specifying the element the rule applies to.

The property is read-only.

Remarks

This property returns the textual representation of the selector for the rule set.

A selector can either be a simple selector ( such as 'H1' ) or a contextual selector ( such as 'H1 B' ), which consists of several simple selectors.

Applies To

rule

See Also

rules



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note