且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

重要吗<strong>在 <em>或 <em>在<强>?

更新时间:2023-02-19 17:03:42

语法正确但语义不正确. 的高阶"形式.如果您正在寻找 的效果,请使用 CSS.请记住,不要因为它们的外观而选择元素,而是因为它们的含义.

Syntactically correct but not semantically correct. <strong> is an "higher order" form, so to speak, of <em>. If you're looking for the effect of <b> and <i>, use CSS. Remember to not choose elements because of how they look but what they mean.