Java Reference
In-Depth Information
The first is the new node to be added and the second is the node that you want it to go be-
fore (it's helpful to think that the order of the parameters is the order they will appear in the
markup). For example, we can place the newPara paragraph before the bike paragraph
with the following line of code:
<< <p>
This will produce the output shown in Figure 6.6 .
Search WWH ::

Custom Search