O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Validating HTML and CSS using Web Developer

Validation is an integral part of web development. HTML and CSS validation ensure that the document is structurally and semantically correct and provide a reliability guarantee that the page will be displayed correctly, both now and in the future.

In this recipe, we will look at how the Web Developer add-on provides easy options for validating both HTML and CSS using the W3C validator at http://validator.w3.org.

Getting ready

It is assumed that the Web Developer add-on is installed and enabled in Firefox.

How to do it...

To validate the HTML of a page currently being viewed in Firefox, click on the Tools menu of the Web Developer toolbar and select Validate HTML as displayed in the following screenshot: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required