QUESTION IMAGE
Question
a quiz on the basics of html question 3 of 8 please answer the following question select one <body> <h1> im a header. </h1> </body> what is the relationship of <h1> and <body>? select the one choice that best answers the prompt above: answer 1 <body> is the cousin of <h1> answer 2 <body> and <h1> are siblings answer 3 <body> is the child of <h1> answer 4 <body> is the parent of <h1>
In HTML, the <body> tag is the container for the visible part of the web - page. The <h1> tag is a heading element that is placed inside the <body> tag. In the HTML document structure, the element inside another element is considered a child of the outer element. So, <h1> is a child of <body>.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- <body> is the parent of <h1>