Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Xhtml Strict

Reply
Thread Tools

Xhtml Strict

 
 
Ganesh
Guest
Posts: n/a
 
      10-26-2006
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.

Ganesh

 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      10-26-2006
In article
< .com>,
"Ganesh" <> wrote:

> I want to start designing a website using XHTML strict.
>


Are you sure this is a good idea?

--
dorayme
 
Reply With Quote
 
 
 
 
Ganesh
Guest
Posts: n/a
 
      10-26-2006
dorayme wrote:
> In article
> < .com>,
> "Ganesh" <> wrote:
>
> > I want to start designing a website using XHTML strict.
> >

>
> Are you sure this is a good idea?
>
> --
> dorayme


Ofcourse... do you know any alternates.. keeping the w3c rules intact

 
Reply With Quote
 
patrick j
Guest
Posts: n/a
 
      10-26-2006
On Thu, 26 Oct 2006 01:57:06 +0100, Ganesh wrote
(in article < .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.

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

--
Patrick
Brighton, UK

<http://www.patrickjames.me.uk>

 
Reply With Quote
 
dp
Guest
Posts: n/a
 
      10-26-2006
Ganesh wrote:
> I want to start designing a website using XHTML strict.
>

Why?

--
dp


 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-26-2006
In article
<. com>,
"Ganesh" <> wrote:

> dorayme wrote:
> > In article
> > < .com>,
> > "Ganesh" <> wrote:
> >
> > > I want to start designing a website using XHTML strict.
> > >

> >
> > Are you sure this is a good idea?
> >
> > --
> > dorayme

>
> Ofcourse... do you know any alternates.. keeping the w3c rules intact


Read

http://www.spartanicus.utvinternet.ie/no-xhtml.htm

by Spartanicus (God)

If you want to adopt a reasonably good practice for a while,
start your HTML docs with:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>

--
dorayme
 
Reply With Quote
 
Rik
Guest
Posts: n/a
 
      10-26-2006
dorayme wrote:
> "Ganesh" <> wrote:
>> dorayme wrote:
>>> "Ganesh" <> wrote:
>>>> I want to start designing a website using XHTML strict.
>>>
>>> Are you sure this is a good idea?

>>
>> Ofcourse... do you know any alternates.. keeping the w3c rules intact

>
> Read
> http://www.spartanicus.utvinternet.ie/no-xhtml.htm


Well, there ARE good uses of XHTML strict, it's sadly not yet widely
supported. At the moment, it's not really a big pay off to code correct
XHTML. For controllable intranets it might be usefull, and I usually serve
XHTML to UA's that claim application/xhtml+xml support in their headers,
but indeed HTML 4.01 Strict to the rest.
--
Rik Wasmus


 
Reply With Quote
 
Chaddy2222
Guest
Posts: n/a
 
      10-26-2006

patrick j wrote:
> On Thu, 26 Oct 2006 01:57:06 +0100, Ganesh wrote
> (in article < .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

 
Reply With Quote
 
Ganesh
Guest
Posts: n/a
 
      10-26-2006
Rik wrote:
> dorayme wrote:
> > "Ganesh" <> wrote:
> >> dorayme wrote:
> >>> "Ganesh" <> wrote:
> >>>> I want to start designing a website using XHTML strict.
> >>>
> >>> Are you sure this is a good idea?
> >>
> >> Ofcourse... do you know any alternates.. keeping the w3c rules intact

> >
> > Read
> > http://www.spartanicus.utvinternet.ie/no-xhtml.htm

>
> Well, there ARE good uses of XHTML strict, it's sadly not yet widely
> supported. At the moment, it's not really a big pay off to code correct
> XHTML. For controllable intranets it might be usefull, and I usually serve
> XHTML to UA's that claim application/xhtml+xml support in their headers,
> but indeed HTML 4.01 Strict to the rest.
> --
> Rik Wasmus

Forewarned is ForeArmed...

I want to start designing a website using HTML 4.01 strict.

How should I start? I want to save time and get a good design as well.

Ganesh

 
Reply With Quote
 
Chaddy2222
Guest
Posts: n/a
 
      10-26-2006

Ganesh wrote:
> Rik wrote:
> > dorayme wrote:
> > > "Ganesh" <> wrote:
> > >> dorayme wrote:
> > >>> "Ganesh" <> wrote:
> > >>>> I want to start designing a website using XHTML strict.
> > >>>
> > >>> Are you sure this is a good idea?
> > >>
> > >> Ofcourse... do you know any alternates.. keeping the w3c rules intact
> > >
> > > Read
> > > http://www.spartanicus.utvinternet.ie/no-xhtml.htm

> >
> > Well, there ARE good uses of XHTML strict, it's sadly not yet widely
> > supported. At the moment, it's not really a big pay off to code correct
> > XHTML. For controllable intranets it might be usefull, and I usually serve
> > XHTML to UA's that claim application/xhtml+xml support in their headers,
> > but indeed HTML 4.01 Strict to the rest.
> > Forewarned is ForeArmed...

>
> I want to start designing a website using HTML 4.01 strict.
>
> How should I start? I want to save time and get a good design as well.
>
> Ganesh

Grab a template from http://www.oswd.org/
--
Regards Chad. http://freewebdesign.cjb.cc

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing VS2005 to generate HTML 4.01/Strict instead of XHTML 1.0 Rob Roberts ASP .Net 5 01-20-2006 11:38 PM
XHTML Strict and Script Tom HTML 6 11-15-2003 07:12 PM
Need help with strict XHTML Brendan HTML 4 11-03-2003 01:49 PM
Announcing Limited Public Beta - XHTML 1.0 Strict Web Controls Peter L. ASP .Net 0 10-20-2003 08:14 PM
xhtml strict is being very stict why? Christopher R HTML 13 10-01-2003 07:17 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57