blocks and inline elements in HTML/XHTML Posted November 23, 2020 hi, i 'm learning html recently and i've taught that inline elments can't hold block elements (flow content), but when i tried a <div> tag nested in <a> tag , in w3c validator didn't recognize it like in error, why?
blocks and inline elements
in HTML/XHTML
Posted
hi, i 'm learning html recently and i've taught that inline elments can't hold block elements (flow content), but when i tried a <div> tag nested in <a> tag , in w3c validator didn't recognize it like in error, why?