How to test HTML validation of a Drupal/Non-Drupal site - A Testers View
https://www.zyxware.com/sites/default/files/styles/user_image/public/default_images/index.png?itok=2YmREnrP
BY renjith
7 years ago
Testing
0 comments comment

HTML validation is done mainly to ensure that webpages follow the HTML standards and rules set by W3C (World Wide Web Consortium). A webpage with correct HTML helps

  • to increase the speed of the website
  • search engines to index webpages more easily
  • to increase the traffic of the site by giving access to more visitors to the site
  • to reduce the load on the server
  • in giving similar look and feel to the webpages in all browsers
  • to easily update and maintain the site

Therefore all pages in a website be it drupal or non drupal, should be validated and must be correct according to W3C standards.

HTML validation can be done by giving the URL of the web pages in a validator "http://validator.w3.org." The validator validates and displays whether the webpage contains any HTML errors.

HTML_Validator

How to test HTML validation in different Browsers

In Mozilla Firefox:

  1. Install web developer tool in Mozilla Firefox.
  2. Load the site in Mozilla.
  3. Open each page in the site to be validated.
  4. Click Tools > Web developer > Tools > Validate HTML.

    htmlvalidate.jpg


In Google Chrome:

  1. Install Pendule 1.0.0 to your Google chrome addons.
  2. Click on the Pendule icon displayed on the navigation bar
  3. Select the option 'Accessibility' from the drop down list.
  4. Select validate HTML.


This article describes only two methods to check html validation. We can also check the validation by opening any validator site and submitting either source code or site's URL. Thus we can assure that the site has passed HTML validation.


RELATED ARTICLE

/themes/custom/zyxpro_light/images/placeholder.png
close

on 30th May 2012 / by anju.r
A software bug is defined as an error or failure or fault in a system or computer program that produces an unexpected or incorrect result. This is applicable for any Drupal/non-Drupal website. The bug life cycle in a Drupal website consists of steps from identification to closure of a bug. Different stages of Bug Life Cycle are: Testing Bug life cycle Leave a reply Your email address will not be published. Required fields are marked *
/themes/custom/zyxpro_light/images/placeholder.png
close

on 21st June 2012 / by tany.antony
Software Testing is the process carried out during software development, so as to ensure and verify that the product, be it a simple program or an entire Drupal site, developed has all the desired features, performs as expected by the customers and meets all their requirements. It also the ensures the robustness of the product. Here is the Levels of Testing in a Drupal Development Workflow. Testing Levels of Testing Leave a reply Your email address will not be published. Required fields are marked *
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.