body
element.
<body color="#000000" link="#330000" alink="#003300" vlink="#000033" bgcolor="#ffffff">
body
element and determine if it contains any of the text colors color
, bgcolor
, vlink
, alink
or link
.body
element.<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>ATRC Testfile - Check #252.2 - Negative</title> </head> <body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#000000"> <p>This is some example text.</p> </body> </html>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>ATRC Testfile - Check #252.1 - Positive</title> </head> <body bgcolor="#ffffff" text="#000000"> <p>This is some example text.</p> </body> </html>