W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 1999

XHTML example

From: M.T. Carrasco Benitez <carrasco@dragoman.org>
Date: Thu, 14 Oct 1999 10:15:26 +0100
Message-Id: <38059F2E.17E0505F@dragoman.org>
To: www-html-editor@w3.org
I copied the first example in section "3.1.1 Strictly Conforming
Documents"
(see below) into a document called "doc.xml". When I tried to view it
with IE5
(or XMLNotepad), it gives an error.

Regards
Tomas

------------ example ----------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                     "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html xmlns="http://www.w3.org/TR/xhtml1/strict" xml:lang="en"
lang="en">
  <head>
    <title>Virtual Library</title>
  </head>
  <body>
    <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
  </body>
</html>


Received on Thursday, 14 October 1999 05:17:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:45 GMT