V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
leohxj
V2EX  ›  HTML

什么时候使用b, em ,strong标签?

  •  
  •   leohxj ·
    leohxj · May 30, 2013 · 4722 views
    This topic created in 4728 days ago, the information mentioned may be changed or developed.
    一段Tips文字,想给每个Tips number加粗,这样的情况下使用什么标签合适?
    大家平时怎么选取的?
    3 replies    1970-01-01 08:00:00 +08:00
    guchengf
        1
    guchengf  
       May 30, 2013
    http://www.zhihu.com/question/19551271
    这个应该对你有一定帮助
    hshiioi
        3
    hshiioi  
       Aug 23, 2013
    b标签是旧的html标签,现在已经被strong代替了,表示强调,语气比em重,在默认样式下,em表现为斜体,strong是加粗体。如果按照网站重构的标准,代表Tips的语义的话,blockquote和cite比较合适,表示引用的语义。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6174 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 374ms · UTC 02:38 · PVG 10:38 · LAX 19:38 · JFK 22:38
    ♥ Do have faith in what you're doing.