For technical support for all editions of CSS HTML Validator. Includes bug reports.
- Rank 0 - Newcomer
- Posts: 1
- Joined: Sat Sep 16, 2017 10:19 am
Hi, when validating the document below, I think it would generate errors for:
* Lack of a close body tag
* Lack of a close html tag
* Lack of an escaped ampersand
CSE Validator buries the lack of a close body/html message in the grouped messages. I don't see an error for the ampersand. Shouldn't there be one?
Code: Select all
<title>Bar & Grill</title>
<p>Posted by: Student's Bar & Grill</p>
<p>Contact information: 515 555 1411</p>
- Site Admin
- Posts: 3242
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
The "body" and "html" end tags are optional. If you'd like to generate errors or warnings when they are missing then you can right-click on the relevant message in the Grouped tab and change the message to an error or warning. Another option would be to check the Require optional end tags option in the Validator->Tag Options page of the Validator Engine Options.
The & character is not a problem in that case because it is followed by a space which makes it non-ambiguous.
I hope this helps. Please let me know if you have any more questions.