CSS [Attribute$="value"] Selector

a[href$=".html"]

Note: For [attribute$=value] to work in IE8 and earlier, a DOCTYPE must be declared.