- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Thu, 23 Aug 2012 16:59:48 +0300
- To: Bartending & Casino Schools <barclass101@gmail.com>
- CC: www-validator@w3.org
2012-08-21 21:43, Bartending & Casino Schools wrote: > Please clean-up > Validating http://www.bartendingandcasinoschools.com/ > Error [257]: "an attribute value specification must be an attribute > value literal unless SHORTTAG YES is specified" In this case, the error is (mostly) caused by the use of unquoted attribute values, which violate XHTML rules. By changing the doctype from XHTML 1.0 Transitional to HTML 4.01 Transitional, the number of error messages is reduced from 230 to 55. But the document contains a mix of XHTML (like "/" in so-called self-closing tags, like <meta name="..." content="..." />) and classic HTML (like unquoted attribute values). This does not matter to browsers, but it matters in validation. So you need to decide between HTML 4.01 and XHTML 1.0 and use it consistently. Unless you expect your document to be processed, I would recommend HTML 4.01. (You can still quote all attribute values if you like. But you cannot e.g. use "/" in some "self-closing tags" and omit it from others.) Yucca
Received on Thursday, 23 August 2012 14:00:25 UTC