What is the syntax for boolean attributes, e.g. a checked checkbox, in HTML?

前端 未结 9 1437
故里飘歌
故里飘歌 2020-12-05 18:09

Sounds like a bit of a silly question, but I am wondering what is the best way of stating that a checkbox is checked/unchecked in HTML.

I have seen many different ex

9条回答
  •  一向
    一向 (楼主)
    2020-12-05 18:25

    I would be careful using it on chrome, firefox and opera. Chorme seems to have a problem with checkboxes showing up, Firefox is case sensitive with styles and tags, and opera seems to run fine but is slow at updating. Might just be the versions of the browsers being used.

    Other than that I believe that it should run just fine in all of them. The only difference really is how the individual browsers appear to show the content on the page.

提交回复
热议问题