<html>
<head>
<style type="text/css">
p[ID=abc] { color: red }
</style>
</head>
<body>
<h1>Html Heading</h1>
<p>fzz</p>
<h2 ID="abc">Html Heading</h2>
<p ID="abc">fzz</p>
<p>works in chrome, not in ie and word</p>
</body>
</html>