I am developing a web application and I would like to check for duplicate CSS id values in a HTML page. I am running that application on my local machine.
There is a way to do that?
P.S.: I am using Firefox and Firebug.
|
I am developing a web application and I would like to check for duplicate CSS There is a way to do that? P.S.: I am using Firefox and Firebug. | |||
|
feedback
|
|
The W3C's validator tool will report duplicate IDs. To test your code:
You can test it with the following code if you wish:
This produces the following error:
| ||||
|
feedback
|
|
Use the W3C Validator. It will tell you if there are duplicated ids.
| |||
|
feedback
|
| |||
|
feedback
|