<!DOCTYPE html>
<html>
<head>
<style>
p { background:yellow; }
</style>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
</head>
<body>
<p>I would like to say: </p>
<div id="mydiv"></div>
<script>
$("p").append("<strong>Hello</strong>");
$("#mydiv").append("<p><strong>Hello</strong></p>");
</script>
</body>
</html>
0 comments:
Post a Comment
Leave a comment on blog quality.