v1study.com

demo.v1study.com

  1. C
  2. HTML
  3. HTML5


Code <!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
$(function(){
$("#btn1").click(function(){
$("p").append(" <b>Appended text</b>.");
});
$("#btn2").click(function(){
$("ol").append("<li>Appended item</li>");
});
});
</script>
</head>
<body>
<p style="font-style:italic; color:red;">v1study.com</p>
<p style="font-style:italic; color:green;">demo.v1study.com</p>
<ol style="color:blue;">
<li>C</li>
<li>HTML</li>
<li>HTML5</li>
</ol>
<button id="btn1">Append text</button>
<button id="btn2">Append list items</button>
</body>
</html>