CD-177Appendix F . Examples from Parts III and (Affordable web design)
Saturday, September 15th, 2007CD-177Appendix F . Examples from Parts III and IV After you load the page, inspect the HTML for the paragraph before doing anything else. Notice the SPAN element and its nested FONT element, both of which surround the one-word content. If you apply the EM element inside the SPAN element (click the middle button), the SPAN element s first (and only) child element becomes the EM element; the FONT element is now a child of the new EM element. Listing 15-22: Using the applyElement() Method
applyElement() Method
A simple paragraph with a special word in it.