Reputation: 375
I just watched this video about Bootstrap, and I saw a p
inside an a
. I would like to know if it is correct semantically.
Upvotes: 6
Views: 3999
Reputation: 96587
This is allowed (since HTML5, where the a
element has a transparent content model) if
a
element is valid at this position, andp
element would be valid at a
’s position, too.(More detailed answer about the transparent content model)
Upvotes: 7