a interactive content not allowed here ⁄a
Interactive content not allowed within the a element
Web Standards classify a element as interactive content (allows users to interact with it; e.g. by clicking on an a element that creates a hyperlink, users navigate toward a new page = interaction).
The next elements, interactive content, can't be nested within the a element
Warning:
interactive content is not allowed within the a element → leads to confusion
Example a syntax
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <!doctype html> <> <> <>...<⁄> <⁄> <> < href="URL"> < controls>...<⁄> <⁄> <⁄> <⁄> |
Syntax 1: Invalid the video element with the controls attribute present (= interactive content) cannot be nested inside the a element