parentnode usage
How to use parentnode: 1. Create a sample HTML file; 2. Obtain the node object with the id "child" through the getElementById method; 3. Obtain the parent node object of the node using the parentNode attribute; 4. Output the parent node's The id is "parent".