Page MenuHomePhabricator

Deprecated HTML tags (e.g. "b" rather than "em")
Closed, InvalidPublic


Pages are rendered with deprecated HTML tags, such as <b> rather than <em>.

This is the case for me on en.wp; user agent string: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070515 Firefox/

Version: 1.11.x
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:02 PM
bzimport set Reference to bz12550.
bzimport added a subscriber: Unknown Object (MLST).

<b> is not deprecated in XHTML, and <em> is not equivalent. <b> marks bold specifically, <em> marks emphasis generally, and <strong> marks stronger emphasis generally.

If it were changed, <strong> would be the closest equivalent.

Of course, you are correct, <b> was superseded by <strong>, while <em> is the equivalent of <i>. Looking at the page again, I can see that it is valid XHTML. Whoops.