You are here: Re: IE says problem with sytax eror line 2 char 1 « HTML « IT news, forums, messages
Re: IE says problem with sytax eror line 2 char 1

Posted by Els on 02/01/08 18:53

Hartmann wrote:
> "PIAGGIO-SB" <nautik@sb.t-com.hr> wrote in message
> news:fnuroe$4g6$1@ss408.t-com.hr...
>> "Els" <els.aNOSPAM@tiscali.nl> wrote in message
>> news:shjgws6oy24.1mr4sjag6lkmd$.dlg@40tude.net...
>>> PIAGGIO-SB wrote:
>>>
>>> > I have a problem with a syntax eror in start .
>>> >
>>> > What am I missing?
>>> >
>>> > Here's a link to the page www.terzic-bus.hr
>>> >
>>> > beginer
>>>
>>> Besides the various validation errors, there is also the infamous
>>> "Byte-Order Mark".
>>>
>>> <http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.terzic-bus.hr%2F>
>>>
>>> "The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to
>>> cause problems for some text editors and older browsers."
>>>
>>> Open your html file in a text editor, and get rid of the 3 funny
>>> characters at the start, before saving and re-uploading. Some text
>>> editors can be set to not use this BOM, like for example TextPad
>>> (http://textpad.com/)
>>
>> Thank you!
>> i will try later when I come home from work
>
> I didn't really understand you.
> I changed the page but the problem exsists
> so small problem but so ...grrr

You changed it by taking out the doctype?
The doctype was good, best put it back in :-)

One of the errors that causes a lot of other "errors" to appear in the
validator, was that on the line before <body>, you have <head>. This
should be </head>. If you change that, a whole bunch of errors will
magically disappear.

This is separate from the Byte-Order Mark though. Which editor are you
using to edit your HTML files?

--
Els http://locusmeus.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация