What's the difference between and , and ?

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

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

22条回答
  •  迷失自我
    2020-11-22 08:57

    "They have the same effect. However, XHTML, a cleaner, newer version of HTML, recommends the use of the tag. Strong is better because it is easier to read - its meaning is clearer. Additionally, conveys a meaning - showing the text strongly - while (for bold) conveys a method - bolding the text. With strong, your code still makes sense if you use CSS stylesheets to change what the methods of making the text strong is.

    The same goes for the difference between and ".

    Google dixit:

    http://wiki.answers.com/Q/What_is_the_difference_between_HTML_tags_b_and_strong

提交回复
热议问题