Set harcoded HTML content
Description
The following code shows how to set harcoded HTML content.
Example
<!DOCTYPE html>
<html>
<head>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
<!--from w w w . j a v a 2s.co m-->
</script>
<script>
$(function() {
var content = $("div").html();
document.writeln(content);
$("div").html("<p style='color:red;'>RED</p>");
});
</script>
</head>
<body>
<div>
<ul>
</ul>
</div>
</body>
</html>