<!DOCTYPE html>
<html lang="de">
<head>
<title>jQuery Beispiel: einbinden und erste Anweisung</title>
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
/* Hier der jQuery-Code */
//alert("Hallo!");
//alert("html="+$(this).html());
$("p").each(function(){
this.style.color="green";
alert("html="+$(this).html());
})
});
</script>
</head>
<body>
<h1>jQuery Beispiel: einbinden und erster Befehl</h1>
<a href="https://www.google.at">
<p>google</p>
</a>
<p>test1!</p>
</body>
</html>