firefox - Detect errors on web page with Firebug -


What is the best way to check our web applications for errors like "duplicate attributes"?

My development team uses Firefox and Firebug for web development, we have seen some errors in codebase, usually attributes like duplicate:

   

We do not see any errors in the Firebug console, nor can firebug view any errors to report errors.

We've found that Firefox is aware of these errors. By clicking on "View Page Source", Firefox provides second class in red and has a tooltip of "duplicate attributes". Although we have to hunt codes in search of any errors written in red.

Surely there is a better way than manually viewing code? What equipment should we use?

Thank you,

Firefox automatically HTML corrects errors such as duplicate attributes, that is, it ignores the second feature, it does not appear as an error for it.

Firebug, Firefox displays error messages exposed through its API, it does not generate an error message for the incorrect HTML such as HTML / CSS / Firefox, The console panel does not display anything related to it.

Although Firefox offers another way to display HTML errors, its source view is there to right-click on the page and view the page source from the context menu. Select. This view highlights duplicate attributes in red:

Duplicate HTML attribute

You have other options:

  1. Use an HTML validation tool like or
  2. You can ask Firefox to highlight HTML errors.

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -