what is DOM?
the DOM (Document Object model, referred to as the DOM), and the documentation objects
The DOM is the standard of the. The DOM defines the standard for accessing HTML and XML documents: The Cloud Document Object Model (DOM) is a platform-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document.
Document: That is, when we create a page and load it into a Web browser, the DOM model creates a document file based on the content of the page.
object: A file, a new page becomes a Document object, an object associated feature is called a document property, and access to an object function is called an object method.
Model: That is, models. Displays the elements and contents of the page in a tree-like model.
For example, the following HTML code
<span style= "Font-family:microsoft yahei;font-size:14px;" ><! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">its corresponding tree-like model
jquery Operation Dom as shown
(Picture not all, please right-pull scroll bar below, thank you)
is mainly for the jquery Operation element property, the jquery operation element css,jquery the Operation page node three aspects. Confucius said, "Learning and time learning, not to speak of", learned things have the opportunity to put into practice, this is not a happy thing? Practice is the only criterion to test the truth, or to use it in practice, so as to get it.
ps:w3c jquery--http://www.w3school.com.cn/jquery/
jquery (iii) jquery operation Dom