次の方法で共有


Display HTML/CSS Warnings as Errors

Menu:  Tools -> Options -> Text Editor -> HTML -> Validation
Versions:  2008,2010
Published:  12/9/2010
Code:  vstipEdit0084

 

Normally HTML and CSS syntax problems will show up as warnings (green squiggles):

image

 

These also show up as warnings in the Error List window:

image

 

 

This means you can build and run the application if you choose to ignore the warnings.  You can choose to have these show up as errors instead if you want by going to Tools -> Options -> Text Editor -> HTML -> Validation and deselecting "as warnings":

image

 

 

Now the green squiggles will be red:

image

 

And the previous warnings will show up as errors in the Error List window:

image