Question
Can something other than text be in-between the opening and closing tags of an anchor element?
Answer
Anchor elements (<a>
) can contain numerous other elements beyond plain text. These elements include phrasing content, for example: <img>
(image) and <video>
elements, and flow content, for example: heading and <div>
elements - given that the flow content does not also contain elements like the anchor element.