October 2006
Beginner to intermediate
352 pages
9h 33m
English
What attributes are supported for all HTML elements?
Using the HTML DOM when given a named element, how would you find its element type?
Given a node in the CORE DOM, how would you find the element types of each of its children?
How would you find out the IDs (identifiers) given all DIV elements in a page?
Rather than use innerHTML,
how would you go about replacing the header element with a paragraph
in the following DIV:
<div id="elem1"> <h1>This is a header</h1> </div>
Answers are provided in the appendix.
Read now
Unlock full access