(2) Getting started -- (6) Introduce jquery (SettingupjQueryinanHTMLdocument) in the html document)
Source: Internet
Author: User
TherearethreepiecestomostexamplesofjQueryusage: theHTMLdocument, CSSfilestostyleit, andJavaScriptfilestoactonit. forourfirstexample, we & amp; #39; ll... there are three pieces to most examples of jQuery usage: the HTML document, CSS files to style it, and JavaScript files to act on it. for our first example, we'll use a page with a book excerpt that has a number of classes applied to portions of it. this p Age includes a reference to the latest version of the jQuery library, which we have downloaded, renamed jquery. js, and placed in our local project directory, as follows: in most of the sample code used by jquery, there are three parts: html documents, css files with styles for them, add the js file for the behavior above. For our first example, we use an html page with many types of applications. This webpage contains a reference to the latest jquery version we have downloaded. we rename it as jqurey. js and place it in the local project directory, as shown below: Through the Looking-Glass
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.