3 ms·
All phrasing content is permitted inside <b>, including <em>. See https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content ht
by somebee 9y ago
All phrasing content is permitted inside <b>, including <em>. See https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Cont...
- andrew-lucker 9y agoKeyword there I think is "runs of phrasing content". That means that you can "nest" different tags but not those of the same tag. The nesting <b> inside <b> like op is causing the parser to ignore the depth of nesting of <b> elements and just closes the bold content on first </b>.