Make the Bedstead Web page unambiguously XHTML.

It was syntactically XHTML already, but various things suggested that it
might be HTML instead.  Now it has a proper content-type in Apache, a
filename that Firefox can understand when reading from a local file, and
for good measure a <meta> tag.  That should keep everyone except possibly
Lynx users happy.
This commit is contained in:
Ben Harris 2016-11-08 00:59:28 +00:00
parent 7f184003e7
commit 2be91c231f
2 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,4 @@
DirectoryIndex index.xhtml
AddType application/xhtml+xml;charset=UTF-8 .xhtml
AddType application/font-sfnt;outlines=CFF;layout=OTF .otf
AddType application/vnd.font-fontforge-sfd .sfd

View File

@ -3,7 +3,8 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-type"
content="application/xhtml+xml;charset=UTF-8" />
<title>Bedstead &ndash; MODE 7 for the 21st century</title>
<link rel="stylesheet" href="bedstead.css" type="text/css" />
</head>