Java Reference
In-Depth Information
to appear in several different places in the document, it would need to be cloned before
each insertion.
This can be seen by using the appendChild() method on the swim paragraph. Since
it already exists, it just moves its position to come after the run paragraph, as shown in
Figure 6.7 :
sports.appendChild(swim);
<< <p class="swim">
 
Search WWH ::




Custom Search