Wednesday, 15 August 2012

Jquery Html

For more tutorials visit our site www.prashobh.webs.com (a make it easy product)


HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser.jQuery contains powerful methods (functions) for changing and manipulating HTML elements and attributes.

Example

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("p").click(function(){
$("p").html("Jquery");
});
});
</script>
</head>
<body>
<h2>heading</h2>
<p>paragraph.</p>
<p>another paragraph.</p>
<button>Click me</button>
</body>
</html>


No comments:

Post a Comment