[TYPO3-core] RFC: #11503: HTML5 doctype implementation
Steffen Kamper
info at sk-typo3.de
Mon Oct 12 20:04:46 CEST 2009
Hi Masi,
Martin Kutschker schrieb:
> Peter Klein schrieb:
>> "HTML 5 validation is not DTD-based, so in HTML 5 the doctype does not
>> refer to a DTD."
>
> But that doesn't change the fact that the client may use the doctype definition in the document. If
> the referenced DTD exists or not doesn't matter. FF never reads/parse the DTDs, it relies solely on
> well-know DTDs. I don't kow if IE or the other browsers care to read a DTD.
>
that is true. A DTD is only used by validators. So if you use custom
tags and want your page able to be valid for validators, you can use own
DTD and declare your tags there.
Reason for introducing the html5 tag is to start with the new html
format, even if TYPO3 doesn't behave correct. But, this can be fixed
(hopefully)
One you mentioned already are the short closing tags, indeed this should
be variable (depending on used doctype) or configurable for custom doctype.
vg Steffen
More information about the TYPO3-team-core
mailing list