<html>
<head>
<script type="text/javascript" src='http://code.jquery.com/jquery-1.5.2.js'></script>
<script type="text/javascript">
$(document).ready(function(){
$("p").add(document.getElementById("a")).css("background", "yellow");
});
</script>
</head>
<body>
<p>Hello</p>
<p id="a">Hello</p>
</body>
</html>