Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
will load, but IE6 recognizes a syntax error and I can't find it. The first error it finds is line 2, character 1. What am I not seeing? I have checked and checked with html validators to no avail. Any other option to locate the error?
I am no html wizard, I am learning.
[edited by: susanlprince at 9:00 pm (utc) on Jan. 18, 2003]
Syntax is the order in which words and phrases are put together, such as a URL (web address) which consists of several phrases that are strung together to define a location or service on the Internet. A syntax error occurs when a user (or programmer) has put words in an order that a program does not understand. A syntax error while surfing the Web may be caused by a mistyped or inadvertently rearranged URL, making it incomprehensible to a web browser.
But I don't see all that much of a problem from what you've posted.
Sticky me the URL and I'll run it thru ARV and see if I can find anything.
Sorry, I am very ignorant!
Smart quotes are those "curly" quotes that word processors sometimes use - they curve in or curve out around the quoted words, rather than going straight up and down. Depending on the application used to write or copy/paste code, I've seen people end up with smart quotes in their document.
Smart quotes may look OK on the screen, but down at the programming level they're a totally different character entity, and not OK at all.
That being said, it's lines 1 and 2 of THAT file where Explorer is saying you have a syntax problem, not your principle HTML file.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
I think this should be:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
This latter doesn't close the tag too early, as the former appears to, the browser is obviously having problems with the lack of proper tag syntax.