473,396 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HTML 4.01 strict / transitional vs. XHTML 1.0

Hi,

I'm actually discovering the wonderful world of w3c validation. Guess I'll
spend a few days learning the ins and outs of its, and then try to rewrite
my four PHP sites that are online.

Question: I wonder what doctype / standard to choose. Goal: sites must
display correctly on any browser. Yeah OK, I know this is my work to test
it everywhere (mind you, when I go online, more often than not I use Lynx
on my Linux Slackware box).

Everyone seems to have a good opinion of every standard. I don't want to
start a flame war here. Just choose one good language / standard... and
then stick to it.

Thanks for your advice,

Niki Kovacs
--
I'm not as think as you stoned I am.
Sep 18 '05 #1
3 1748
Niki Kovacs wrote:
Question: I wonder what doctype / standard to choose.
XHTML is loaded down with (mostly) subtle issues, but provides few benefits
to the vast majority. Stick with HTML. 4.01 is the latest and (really)
greatest but is also old enough to have a mature level of support among
user agents.

Transitional contains everything Strict does plus a pile of stuff that you
almost certainly shouldn't be using with with current levels of support for
CSS and JavaScript. The possible exception being the "start" attribute for
ordered lists.

So - HTML 4.01 Strict.
Goal: sites must display correctly on any browser.


Loaded question. What is "correctly"?

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sep 18 '05 #2
On Sun, 18 Sep 2005 21:10:24 +0200, Niki Kovacs <mi****@mouse.com>
wrote:
Question: I wonder what doctype / standard to choose.


4.01 Strict because it minimises the IE variablility.

Sep 18 '05 #3
David Dorward wrote:
XHTML is loaded down with (mostly) subtle issues, but provides few
benefits to the vast majority. Stick with HTML. 4.01 is the latest and
(really) greatest but is also old enough to have a mature level of support
among user agents.

Transitional contains everything Strict does plus a pile of stuff that you
almost certainly shouldn't be using with with current levels of support
for CSS and JavaScript. The possible exception being the "start" attribute
for ordered lists.

So - HTML 4.01 Strict.


Thanks for the explanation!

Niki Kovacs
--
I'm not as think as you stoned I am.
Sep 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

50
by: Christopher Benson-Manica | last post by:
(if this isn't the place for XHTML, I'd appreciate a redirect) According to the w3's web site, some non-HTML 4 browsers won't properly interpret non-minimized boolean attributes, i.e. <option...
29
by: Armand Karlsen | last post by:
I have a website ( http://www.zen62775.zen.co.uk ) that I made HTML 4.01 Transitional and CSS compliant, and I'm thinking of converting it into XHTML to learn a little about it. Which XHTML variant...
13
by: Kieran | last post by:
I am designing a content management system and I want to make sure all pages entered into it's database by users are using valid HTML. I have designed the system to use HTML 4.01 Transitional...
20
by: Alan Silver | last post by:
Hello, I have read about the problems that IE has when using a doctype of HTML 4.01 Transitional. I was advised to use Strict wherever possible. My question is, does the same apply to XHTML...
16
by: Alan Silver | last post by:
Hello, I have read about the problems that IE has when using a doctype of HTML 4.01 Transitional. I was advised to use Strict wherever possible. My question is, does the same apply to XHTML...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.