Added fucntion for grading a HTML page