Basic Attribute Selector

Structure

element1[attribute]

Description

This selector allows you to select elements by their attributes, regardless of their value.

Examples

Compatibility

Chrome Firefox Internet Explorer Opera Safari
Any Any 7.0+ Any Any




Comment