?
This document uses PHP Chinese website manual Release
匹配如 h1, h2, h3之類的標(biāo)題元素
給頁面內(nèi)所有標(biāo)題加上背景色
<h1>Header 1</h1> <p>Contents 1</p> <h2>Header 2</h2> <p>Contents 2</p>
$(":header").css("background", "#EEE");
[ <h1 style="background:#EEE;">Header 1</h1>, <h2 style="background:#EEE;">Header 2</h2> ]