chiark / gitweb /
Light HTML modernisation
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 27 Sep 2024 20:01:35 +0000 (21:01 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Fri, 27 Sep 2024 20:01:35 +0000 (21:01 +0100)
The "sizes" attribute on the icon <links> wasn't allowed by XHTML 1.0
Strict, so I've removed the DOCTYPE for that.  Meanwhile HTML 5
doesn't want you declaring a <meta http-equiv="content-type">
specifying XHTML, so I've removed that as well.  So now it's
XML-syntax HTML 5, which seems sensible to me even if other people
don't like XML.

index.xhtml

index 178c2db3e1988a09dddf29a0c30abfe536fe4ecc..325c5bd44b54885065a92ead6ec7a2d223701a37 100644 (file)
@@ -1,10 +1,5 @@
-<!DOCTYPE html
-          PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-GB" xml:lang="en-GB">
   <head>
-    <meta http-equiv="content-type"
-         content="application/xhtml+xml;charset=UTF-8" />
     <title>Bedstead – MODE 7 for the 21st century</title>
     <link rel="stylesheet" href="bedstead.css" type="text/css" />
     <link rel="icon" href="icon-16.png" type="image/png" sizes="16x16" />