Question: Step 1. Analyze web programs in order to test, debug, and improve them Visit http://www.w3schools.com/js/js_htmldom.asp (Links to an external site.). Describe the DOM Tree of
Step 1. Analyze web programs in order to test, debug, and improve them
Visit http://www.w3schools.com/js/js_htmldom.asp (Links to an external site.). Describe the DOM Tree of Objects and the HTML DOM.
Visit http://www.w3schools.com/js/js_window.asp (Links to an external site.) to learn about the Browser Object Model (also known as BOM or Browser DOM). Describe at least 4 of the main objects in the BOM and how they can be used in your web pages.
Visit http://www.w3schools.com/js/js_input_examples.asp (Links to an external site.). How would you submit a form programmatically? Provide your own original example.
Visit http://www.w3schools.com/js/js_htmldom_methods.asp (Links to an external site.). How would you retrieve a value from a form field and then display it in the web page? Provide your own original example.
Visit http://www.w3schools.com/js/js_htmldom_document.asp (Links to an external site.) and http://www.w3schools.com/js/js_htmldom_elements.asp (Links to an external site.). How can you retrieve an element by its id? By its tag name? By its class name? How can you change the innter HTML of an element? How can you chane the attribute value of an element or style of an element? How can you add an event handler to an HTML element? How can you assign a class name to an element? Provide your own original examples for each. This will help you as you complete your homework assignments over the next several weeks.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
