.NET Daily

Recommended Resources

Popular Content

Taghtml 4.01


Which HTML tags can you place inside an a, p or h1 tag?

Posted on January 11th, 2014.

I often see lots of HTML validation mistakes in the code of some developers that don’t know what exactly you can place inside a paragraph tag inside an anchor tag and every time I validate their markup I get a red page from W3C validator. So I decided to make a list with the HTML tags allowed in the following more sensible tags:...