+ 3

can you describe what it means for an element to be nested and example

what is a nested element

23rd Feb 2019, 5:18 AM
Ethan Byle
Ethan Byle - avatar
2 ответов
+ 2
<body> <p>This paragraph element is considered nested. </p> </body> You can think of the body element as a nest, and the paragraph element as a smaller nest. Here we put the paragraph element inside the body element. In other words, we put a nest into another nest. In this case, we say that the paragraph element is nested.
23rd Feb 2019, 6:29 AM
Ah Zong
Ah Zong - avatar
+ 2
ty
23rd Feb 2019, 6:31 AM
Ethan Byle
Ethan Byle - avatar