jQuery:
HTML
jQuery HTML()
jQuery
jQueryHTMLCSS使
$("p") <p>
$("p.intro") class="intro"<p>
$("p#demo") id="demo"<p>
jQuery
jQueryXPath使
$("[href]") href
$("[href='#']") href value="#"
$("[href!='#']") href "#"
$("[href$='.jpg']") ".jpg"href
jQuery CSS
jQuery CSSHTMLCSS使
$("p.intro").css("background-color","yellow")