lundi 9 novembre 2015

Invalid html tag location

I am trying to use checkboxes implemented by topcoat:

http://topcoat.io/

The code snippet for their checkbox is this:

<label class="topcoat-checkbox">
  <input type="checkbox">
  <div class="topcoat-checkbox__checkmark"></div>
  Default
</label>

However, this is marked as incorrect location of <div> tag in Eclipse.

Regardless, the checkbox still appears in the html page and seems to be working fine.

Why does Eclipse display this warning when it's working and is it okay to use this implementation?




Aucun commentaire:

Enregistrer un commentaire