Jquery Tutorial First Step

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>

<title>First Step of Jquery</title>
<style>
ul li {
color: black;
font-weight: bold;
font-size: 18px;
font-family: Verdana;
}

.first {
color: green;
}
</style>

</head>
<body>

<ul>
<li>Item-1</li>
<li>Item-2</li>
<li>Item-3</li>
</ul>

<script
src=”https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js”></script>

<script>
$(‘ul li’).addClass(‘first’);
</script>

</body>
</html>