Below code will find the span tag in all the div of the page and set it's font weight to bold using JQuery. You can download the Jquery from
http://docs.jquery.com/Downloading_jQuery <script type="text/javascript" src="Script/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("div").find("span").css("fontWeight","bold");
});
</script>
Here is the div in which I have placed a span tag.
<div><span>Virendra Dugar</span></div>
JQuery provides a inbuilt function "find()" which search for the passed expression.
Click below link to get mostly asked jQuery interview question.
http://jquerybyexample.blogspot.com/2011/08/mostly-asked-jquery-interview-questions.html