[dev] Horde <!DOCTYPE>

Jan Schneider jan at horde.org
Sun Apr 22 14:25:47 UTC 2018


Zitat von Sebastian Birnbach <birnbacs at gmail.com>:

> Horde sets as DOCTYPE in every page
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "DTD/xhtml1-transitional.dtd">
>
>
> Firefox and IE complain about this, marking the line red in the console. To
> the best of my knowledge the DOCTYPE should read
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> Questions:
> 1) Is the missing w3.org server name a misconfiguration on my side?

No. It's not strictly necessary either, it's just a hint where to  
download the DTD.

> 2) Where is the DOCTYPE defined in Horde?

templates/common/header.html.php

> 3) Any reason not to change it?

No, it should indeed point to a valid URL.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the dev mailing list