What's the difference between and , and ?

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

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

22条回答
  •  春和景丽
    2020-11-22 09:04

    Use them only if using CSS style classes is for any reason unconvinient or impossible (like blog systems, allow only some tags to use in posts and eventually embedded styles). Another reason is support for very old browsers (some mobile devices?) or primitive search engines (that give points for or tags, instead of analysing CSS styles).

    If you can define CSS styles, use them.

提交回复
热议问题