What's the difference between and , and ?

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

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

22条回答
  •  北恋
    北恋 (楼主)
    2020-11-22 08:43

    and consume more bandwidth than and .

    They also require more typing (if not auto-generated).

    They also clutter the editor screen with more text. I seem to recall that programmers like smaller source files if they are the same. (And let's be real, they are the same. Yes, there are "technical" (cough, ahem, excuse me) differences, but that's mostly phony to begin with.)

    With any of the above tags, you can use style sheets to customize how they appear to however you want if you need them to appear different than their defaults renderings.

提交回复
热议问题