What content can a tag receive? [closed]

1 week ago 14
ARTICLE AD BOX

A <li> tag can receive obviously text and other lists (ol or ul). However, is it forbidden to use it for other tags? Paragraphs, anchors, images..., combinations of them? I expect that I can add any valid HTML code there and still be valid - even if it would count as a little abuse of the feature.

Example:

<ul> <li> <p>text</p> <a ref="URI">letters1</a> </li> <li> <a ref="URI">letters2</a> <p>a different text</p> </li> </ul>
Read Entire Article