Tag-Pairs, continued
Nesting
Yes, the ending tags must always be like a mirror-image of the opening tags.
Mirrored Sequence
Comparison
Proper Nesting (Mirrored)
| Correct: | <div> <p> <span> | </span> </p></div> |
|---|
Improper Nesting (Not Mirrored)
| Incorrect: | <div> <p> <span> | </p> </span> </div> |
|---|---|---|
| Incorrect: | <div> <p> <span> | </span> </div> </p> |
| Incorrect: | <div> <p> <span> | </div> </p> </span> |
