Is it ok to have an `` inside another ``?

前端 未结 4 1410
小鲜肉
小鲜肉 2020-12-20 11:22

If I had a link to another page, and another link was put inside it, would that be ok to do? Is it allowed in HTML5 and if so, which browsers support it?

Trying this

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-20 11:39

    According to the W3C specification for links HTML5: No.

    Content model:
    Transparent, but there must be no interactive content descendant.

提交回复
热议问题