Home  >  Q&A  >  body text

为什么我加上<span>标签里面的文字会没有反应呢?

为什么我加上<span>标签里面的文字会没有反应呢?

phpcn_u233phpcn_u2332861 days ago1121

reply all(3)I'll reply

  • 数据分析师

    数据分析师2017-09-30 23:08:33

    Why does the text inside the <span> tag not respond when I add it? -PHP Chinese website Q&A-Why does the text in the <span> tag not respond when I add it? -PHP Chinese website Q&A

    Please watch and learn.

    reply
    0
  • 我是灰太狼

    我是灰太狼2016-12-20 14:03:22

    加span标签怎么会让文字有反应的,不仅是span,你加div,p,都不会有反应的,想让他们有反应,简单啊,加CSS样式啊

    reply
    0
  • 阿神

    阿神2016-12-20 13:57:04

    span标签并不会给样式带来什么变化,因为它是一种无语义的标签。之所以用它是因为它能很方便的对它之间的内容进行样式修改。

    reply
    0
  • Cancelreply