Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

19
  • 3
    \$\begingroup\$ HTML has <b> and <i> tags and they are semantically different from <strong> and <em>. Not requesting to change rules, but why do you define the mapping that way? \$\endgroup\$ Commented Jan 29 at 4:05
  • 2
    \$\begingroup\$ @Explorer09 www.bbcode.org does translate [b] into <strong> and [i] into <em>. And so does Markdown on this very site with **this** and *this*. \$\endgroup\$ Commented Jan 29 at 4:51
  • 2
    \$\begingroup\$ text will never contain [, ] seems to contradict malformed, or unknown tags are left as literal text. \$\endgroup\$ Commented Jan 29 at 4:56
  • 2
    \$\begingroup\$ @qarz <strong> and <b> have different semantics in HTML5 and are not interchangeable. <b> is for general marker for drawing attention or keywords. <strong> is for making importance in text/speech. The **this** in Markdown translates better to <b> and not <strong>. Likewise for <i> (general marker for loanwords, scientific terms and titles) and <em> (stress or emphasis in speech). See also: FAQ from WHATWG \$\endgroup\$ Commented Jan 29 at 8:56
  • 5
    \$\begingroup\$ @Explorer09 i don't think it's very relevant to be pedantic about semantic html when we're talking about software that is nowadays largely considered obsolete, used for informal conversation by non-technical users. \$\endgroup\$ Commented Jan 29 at 9:16