The document discusses how jQuery works with web pages. jQuery is included via a <script> tag linking to the jQuery library. JavaScript code then makes calls to jQuery functions. The code example is then explained line-by-line, with the HTML tag identifying the HTML version, <html> beginning the page, <head> containing the title and scripts, and </html> closing the page.
The document discusses how jQuery works with web pages. jQuery is included via a <script> tag linking to the jQuery library. JavaScript code then makes calls to jQuery functions. The code example is then explained line-by-line, with the HTML tag identifying the HTML version, <html> beginning the page, <head> containing the title and scripts, and </html> closing the page.
The document discusses how jQuery works with web pages. jQuery is included via a <script> tag linking to the jQuery library. JavaScript code then makes calls to jQuery functions. The code example is then explained line-by-line, with the HTML tag identifying the HTML version, <html> beginning the page, <head> containing the title and scripts, and </html> closing the page.
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.