Skip to content

A script that checks the conformance of HTML, CSS, and SVG files against W3C standards. This fork enhances the original W3C-Validator by adding wildcard support, allowing you to validate multiple files at once.

Notifications You must be signed in to change notification settings

uosyph/W3C-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

W3C validator for Holberton School

For HTML and CSS files.

Based on 2 APIs:

Requirements

Python 3 Requests: HTTP for Humans™

You can install requests using pip:

python 3 -m pip install requests

If you don't have pip installed, you can get it here.

Installation

  1. Clone this repo
git clone https://github.com/holbertonschool/W3C-Validator.git
  1. Run shell script (see example in usage section below)

Usage:

Simple file:

./w3c_validator.py index.html

Multiple files:

./w3c_validator.py index.html header.html styles/common.css

All errors are printed in STDERR; Exit status = # of errors (0 on success)

References

The Nu Html Checker (v.Nu) Nu Html Checker Checker output format

About

A script that checks the conformance of HTML, CSS, and SVG files against W3C standards. This fork enhances the original W3C-Validator by adding wildcard support, allowing you to validate multiple files at once.

Topics

Resources

Stars

Watchers

Forks

Languages

  • Python 100.0%