You are here: Re: Xhtml Strict « HTML « IT news, forums, messages
Re: Xhtml Strict

Posted by Chaddy2222 on 10/26/06 05:41

patrick j wrote:
> On Thu, 26 Oct 2006 01:57:06 +0100, Ganesh wrote
> (in article <1161824226.322720.268500@m73g2000cwd.googlegroups.com>):
>
> > I want to start designing a website using XHTML strict.
> >
> > How should I start? I want to save time and get a good design as well.
>
> Hi
>
> I returned to doing web-sites in the last few months having not done
> any at all for about five years.
>
> Initially I thought that XHTML was "the way to go" so I embarked upon
> doing everything with XHTML.
>
> However there are problems with XHTML, one of which I've encountered
> and there are lots of people in this forum who will describe in much
> more detail why XHTML may not be a good idea.
>
> The problem I've encountered is that the XHTML declaration at the very
> top:
>
> <?xml version="1.0" encoding="iso-8859-1"?>
>
> seems to put IE 6 into "quirks mode". It might very well do this with
> other browsers as well I've only observed this with IE 6.
>
> The problem (I guess) is that the browser doesn't understand this very
> first statement and then says to itself "I must be dealing with a jolly
> bad HTML site here" and goes into a mode of operation which is
> anticipating problems.
>
> The reality seems to be that the browser's behaviour becomes
> unpredictable in some situations.
>
> So I have started doing everything in HTML 4.01.
>
> I think that it would be easy to change the XHTML in the future if I
> wanted to, if it did indeed become "the next big thing" because in fact
> all I think I need to do is change the headers at the top and do a
> find/replace on the ends some of the tags and that kind of thing.
> However XHTML demands that all tags are closed, it is very fussy in
> that respect, so I think that for me the thing I'm doing is just making
> sure all my tags in HTML 4.01 are closed and by this simple measure
> than I know that conversion to XHTML (if I wished) would be fairly
> simple.
>
Yes, that is why I think XHTML is good to use.
Also, it is not hard to get it to work in IE, you just need to serve it
incorrectly as text/html.
I personally don't mind throwing IE in to quirks mode eather, as the
majority of standards compliant browsers do serve XHTML 1.0 strict
served as text/html in standards compliant mode.
However, you can only do this with 1.0, it's not recomended to serve
1.1 as text/html, and frankly, I don't see a need to do that anyway.

> The most exciting thing about the writing HTML today is CSS. This is
> the massive change which has taken place in the period I have spent
> away from HTML. I feel that concentrating on CSS is very much the "way
> to go". If you are not familiar with CSS then you will find it great
> fun to explore :)
>
Yes, I agree totally with that.
--
Regards Chad. http://freewebdesign.cjb.cc

 

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

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