Home > Web Front-end > HTML Tutorial > How to solve a tag nesting

How to solve a tag nesting

php中世界最好的语言
Release: 2017-11-27 11:13:37
Original
2037 people have browsed it

We know that in the actual web page layout, sometimes it is necessary to click a part of the button in the middle of the entire click area, then the A tag is nested in the A tag

outerA innerA

But we will find that for this kind of nesting, the browser will directly parse it incorrectly, and the parsing result is as follows: