What's the difference between and , and ?

前端 未结 22 2140
清酒与你
清酒与你 2020-11-22 08:10

What\'s the difference between and , and in HTML/XHTML? When should you use

22条回答
  •  借酒劲吻你
    2020-11-22 08:51

    and add extra semantic meaning to your document. It just so happens that they also give a bold and italic style to your text.

    You could of course override their styling with CSS.

    and on the other hand only apply font styling and should no longer be used. (Because you're supposed to format with CSS, and if the text was actually important then you would probably make it "strong" or "emphasised" anyway!)

    Hope that makes sense.

提交回复
热议问题