Chapter 4 Answers
These are suggested answers to the Chapter 4 practice questions. Some questions have multiple solutions
- How many element nodes are there in this example? 37
- How many children does the <body> node have? 3
- How many great—great—grandchildren does the <body> node have? 19
- Describe a path to find the link to the Home Page. <html> → <body> → <a href>
- Describe the path to tell the computer how to find the element node containing the text "Adam Crymble". <html> → <body> → 2nd <table> → <tbody> → 2nd <tr> → 2nd <td>
- Describe one path to find "Day" and "Wednesday." <html> → <body> → 1st <table> → <tbody> → <tr> → 1st <td>
- Describe one path that will lead to all the data contained in the 2nd <table>. <html> → <body> → 2nd <table>
- Describe a path that will lead to all the images contained in the 2nd <table>. <html> → <body> → 2nd <table> → <tbody> → <tr> → <td> → <img src>
- Describe a path that will lead to only the 2nd and 3rd images in the <table>. <html> → <body> → 2nd <table> → <tbody> → 3rd <tr> → <td> → <img src>
Home