Undefined attribute name (data switching)

I am using Twitter upload in JSP(Java Server Pages) in eclipse. I am trying to use the registration / registration twitter in the navbar (navigation bar), but it gives a warning Undefined attribute name (data-toggle) The following code gives a warning data-toggle="dropdown" .

+4
source share
2 answers

Eclipse does not recognize this attribute, but you can configure HTML validation options to ignore it.

In the "Settings for HTML files" → "Validation" section, you can ignore the specified attribute names. If you want, you can enter the template here, for example data-* .

+7
source

This warning does not appear with Eclipse Luna, so the upgrade to Eclipse should go away.

0
source

Source: https://habr.com/ru/post/1204076/


All Articles