W3C home > Mailing lists > Public > www-validator@w3.org > June 2013

Re: Html or XML

From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
Date: Wed, 26 Jun 2013 15:02:30 +0100
Message-ID: <51CAF476.9030308@Rhul.Ac.Uk>
To: Daan en Miran <daanmiran@kpnmail.nl>
CC: "www-validator@w3.org" <www-validator@w3.org>


Daan en Miran wrote:

> I have a question i want to deal in any of these topics ?
> Some programs say html5 and 4 are different or xml , can anyone tell me
> what the difference is here?
> And what can i do best?
> And website optimization is not my strongest point.
> My website url is: http://www.beyer-loodgieters.nl
> Thank you very much!

HTML 5 is an evolving specification which has not yet achieved W3C
recommendation status; if you use it, please be aware that what the
validator tells you is valid today it may well you is invalid tomorrow
(and vice-versa).

HTML 4.01 is the most recent version of HTML to have achieved full W3C
Recommendation status.  It is stable, unchanging, and compatible with
all modern browsers.

XHTML is a re-formulation of classic HTML as a dialect of XML; whilst
this seemed to be the W3C's preferred route for the evolution of HTML in
the past, that would no longer seem to be the case.

Therefore :

If you want the latest features and are willing to risk your documents
ceasing to be valid in the future, use HTML 5

If you want stability and need none of the features that HTML 5 offers,
use HTML 4.01 (ideally HTML 4.01 Strict)

If you want compatibility with XML, use XHTML 1.1

These are personal opinions and are not intended to represent the W3C's
views; I am not a member of the latter.

Philip Taylor
Received on Wednesday, 26 June 2013 14:02:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC