HTML and CSS Reference
Before you can use jQuery, you need to download the library and include it in your HTML file. Let's set up another
test file so that you can get familiar with jQuery. Follow these steps:
1. Download the latest version from the jQuery website ( http://jquery.com ) . At the time of writing this,
the latest version is 1.8.1
3. Create a new file in your text editor.
4. Save this file as example10-10.html .
5. Add the following code to this file:
<title>jQuery Test Page</title>
<h1>This is a test page</h1>
<h1>A Text Section</h1>
<p id="firstParagraph" class="paragraph">
This text is within the first paragraph element.
This text is in the second p element.
<h1>A Web Form</h1>
<form id="webForm" action="#" method="post">
<input type="text" id="name" name="name">
<input type="email" id="email" name="email">