Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

How jQuery works with your Web page

At its most basic, a Web page contains a


script tag that includes the jQuery library
and a <script> block of JavaScript code that
contains calls to functions from the jQuery library.
Using JavaScript code to call jQuery functions
is a bit confusing at first, but don�t worry. The
important point is to get a sense of how the code
you used in this chapter works and what all the
pieces mean. In this section, I take you through
test.html line by line so it will be clearer:
This long element tells
the Web browser which version of HTML is
used in the code that follows. You should
always include it at the beginning of any
HTML pages you create.
This element begins the HTML
page.
This element designates the
beginning of the head section. This section
usually contains the title and any script
element.
My Test Pagetml>: This tag ends the HTML page.

You might also like