'selectorText' Syntax and Note
Note:
Read and write property.
Specifies the selector of the style sheet rule.
The selector is either the element id or the element tag name.
Syntax:
document.styleSheets[index1].rules[index2].selectorText = value
Related examples in the same category