Log in

View Full Version : Resolved w3c Mystery



marain
07-17-2018, 08:05 PM
Folks,

https://www.njexpungements.com/newLaw.php is producing three w3c error messages and I can't figure out why. Can someone here please look at it?

A.

styxlawyer
07-17-2018, 10:38 PM
You have a <span> tag at line 139 and the matching </span> tag at line 183. This tag pair contains block elements which is illegal HTML. Change these to <div> & </div> respectively and the errors go away.

For an explanation of inline and block elements see here (https://www.w3schools.com/html/html_blocks.asp).

coothead
07-17-2018, 10:49 PM
coothead

marain
07-18-2018, 01:23 PM
Wow. I would never have found that!

Thank you.

styxlawyer
07-18-2018, 01:34 PM
You're welcome. Spotting a </span> tag on a single line is usually a pointer to a problem.