InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': ')' is not a valid

Problem description:
When webStorm is developing an angular application or vue, the page has no content, the browser console reports an error, and an error such as a similar topic is reported, and the location is correct. No problem was found.

Error checking process:
1. Check that the program is wrong and obviously abnormal.
2. Check whether the dependency is normal.
3. Check the logic
of the corresponding page. Check it and see that there are web pages that say that there are illegal characters in the html page tags. Mine is

There is no comma between the attributes. But I wrote it, so I remind you that whether you wrote it yourself or copied it, try to avoid such troubles caused by the punctuation in the label. After the correction, the page will display the page normally. Hey, it’s a waste of time and an exception is reported. Not clear, not finding the problem early, wasting a lot of time.

**

solve!

**

Guess you like

Origin blog.csdn.net/publicstaticfinal/article/details/97757246