Maison  >  Questions et réponses  >  le corps du texte

eclipse 关于格式化html中div标签的问题

我最早在知乎上问的,没人回答。

我在写好html代码后,使用eclipse格式化html代码(Ctrl+Shift+F)时,本来手写的<p id="x"></p>变为<p id="x" /> ,也就是说,用/>来进行标签的关闭了!怎么会这样呢,我网上查了半天也没见有<p />这样的标准,看W3C里也没这种说明!这种究竟是哪来的标准呢?

伊谢尔伦伊谢尔伦2736 Il y a quelques jours613

répondre à tous(1)je répondrai

  • 大家讲道理

    大家讲道理2017-04-22 09:01:19

    Vous pouvez installer un plug-in aptana Eclipse. Formatez le code avec ce plugin.

    répondre
    0
  • Annulerrépondre