Categories
Technology

Real XHTML 2.0

This is real XHTML 2.0:

<?xml version="1.0"?>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD XHTML 2.0//EN"
"http://www.w3.org/MarkUp/xhtml-spec/xhtml.dtd">
<HTML>
<!-- Here's a good place to put a comment. -->
<HEAD>
<TITLE>Structural Example</TITLE>
</HEAD><BODY>
<H1>First Header</H1>
<P>This is a paragraph in the example HTML file. Keep in mind
that the title does not appear in the document text, but that
the header (defined by H1) does.</P>
<OL>
  <LI>First item in an ordered list.</LI>
  <LI>Second item in an ordered list.</LI>
  <UL COMPACT="COMPACT">
    <LI> Note that lists can be nested;</LI>
    <LI> Whitespace may be used to assist in reading the
    HTML source.</LI>
  </UL>
  <LI>Third item in an ordered list.</LI>
</OL>
<P>This is an additional paragraph. Technically, end tags are
not required for paragraphs, although they are allowed. You can
include character highlighting in a paragraph. <EM>This sentence
of the paragraph is emphasized.</EM> <!--Note that the </P>
end tag has been omitted-->.</P>
<P>
<IMG SRC="triangle.xbm" alt="Warning: "/>
Be sure to read these <B>bold instructions</B>.</P>
</BODY></HTML>Code language: HTML, XML (xml)

Leave a Reply

Your email address will not be published. Required fields are marked *