<!DOCTYPE html>
<html>
<head>
<title>jQuery [attribute^=value] Selector</title>
<script src="jquery-latest.min.js"></script>
<script>
$(document).ready(function() {
$("p[class^='par']").css('color', 'red');
});
</script>
</head>
<body>
<h1>Article heading</h1>
<p>first paragraph</p>
<p class="paragraph">second paragraph</p>
<p class="braam">third paragraph</p>
<p class="param">fourth paragraph</p>
</body>
</html>