You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/Types.html
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -608,13 +608,12 @@ <h2 id="Element"> Element </h2>
608
608
<h2id="Text"> Text </h2>
609
609
<p>Text is a node of the Document Object Model (DOM) that represents the textual content of an <ahref="#Element">element</a> or an attribute. Consider the following code:
<p>If you retrieve the children of the paragraph of the example as follows:
614
613
</p>
615
614
<pre><codedata-lang="javascript">var children = document.getElementById( "target" ).childNodes;
616
615
</code></pre>
617
-
you obtain two children. The first one is the <ahref="#Element">element</a> representing the <code>b</code> tag. The second child is a text node containing the string " world".
616
+
<p>you obtain two children. The first one is the <ahref="#Element">element</a> representing the <code>b</code> tag. The second child is a text node containing the string " world".
618
617
</p>
619
618
<h2id="jQuery"> jQuery </h2>
620
619
<p>A jQuery object contains a collection of Document Object Model (DOM) elements that have been created from an HTML string or selected from a document. Since jQuery methods often use CSS selectors to match elements from a document, the set of elements in a jQuery object is often called a set of "matched elements" or "selected elements".
0 commit comments