From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alf =?utf-8?q?H=C3=B8gemark?= To: development@lists.ipfire.org Subject: Using xhtml strict or html5 for the web gui ? Date: Tue, 11 Feb 2014 19:26:22 +0100 Message-ID: <52FA6B4E.2080003@i100.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8143971644555919800==" List-Id: --===============8143971644555919800== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi I was trying to validate the html pages of the web GUI of Ipfire. Although having pages that passes a validator is not absolutely requried, I think it makes styling easier, and it makes good sense to make sure table cells and rows are properly closed etc etc. It is a kind of indicator of code quality. I then noticed that the ipfire web GUI is using the doctype for xhtml strict. But the actual html itself seems to be a bit old style, with lots of align, valign attributes on tags, which will not validate as xhtml, even if all the tags are properly closed. Have you considered going for "html5" doctype ? Using html5, I think it would require a lot less cleanup to make the pages validate. And when a page validates, it makes it easier to test the page using a validator after you make code changes, to make sure it still validates. Regards Alf Høgemark --===============8143971644555919800==--