Provides framework templates and code snippets for the strict, transitional and frameset flavours of the legacy XHTML 1.0 (eXtensible HyperText Markup Language) as well as XHTML 1.1, XHTML Basic 1.0 and 1.1.
General editor notes or advisories within the snippets are contained within angle quotations: « ».
Version 2.0.0.1. Released: 2008-09-02.
<!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" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Untitled</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Description for search engines" />
</head>
<body>
<h1>Untitled</h1>
<p></p>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Untitled</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Description for search engines" />
</head>
<body>
<h1>Untitled</h1>
<p></p>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Untitled</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Description for search engines" />
</head>
<frameset rows="*,1">
<frame src="" name="view" frameborder="0" title="The Website" />
<frame src="about:blank" name="ns4compatible" frameborder="1" title="Blank page to provide Netscape 4 and older compatibility - they can't handle single frames" />
<noframes>
<body>
<h1>Untitled</h1>
<p>The browser does not support frames<br />
<a href="">Go to Website</a>
</p>
</body>
</noframes>
</frameset>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
<head>
<title>Untitled</title>
<meta name="description" content="Description for search engines"/>
</head>
<body>
<h1>Untitled</h1>
<p></p>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
<head>
<title>Untitled</title>
<meta name="description" content="Description for search engines"/>
</head>
<body>
<h1>Untitled</h1>
<p></p>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-basic11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
<head>
<title>Untitled</title>
<meta name="description" content="Description for search engines"/>
</head>
<body>
<h1>Untitled</h1>
<p></p>
</body>
</html>
<?xml-stylesheet type="text/css" href="presentme.css" title="Main Style" media="" alternate="«yes/no»"?>
<ruby>
<rb>Main Text eg: 2004/07/14</rb>
<rp> (</rp><rt>Ruby Text eg: YYYY/MM/DD</rt><rp>)</rp>
</ruby>
id=""
xml:lang=""
lang=""
dir="«ltr / rtl»"
title=""
class=""
style=""
onclick=""
ondblclick=""
onmousedown=""
onmouseup=""
onmouseover=""
onmousemove=""
onmouseout=""
onkeypress=""
onkeydown=""
onkeyup=""
onfocus=""
onblur=""
onload=""
onunload=""
onselect=""
onchange=""
onsubmit=""
onreset=""
<meta name="" content="" />
<link rel="" type="" href="" title="" />
<link rel="stylesheet" type="text/css" href="presentme.css" title="Main Style" />
<link rel="alternate stylesheet" type="text/css" href="change.css" title="Alternate Style" />
<link rel="icon" type="image/x-icon" href="icons/website.ico" />
<link rel="icon" type="image/png" href="icons/website.png" />
<link rel="icon" type="image/jpeg" href="icons/website.jpg" />
<link rel="icon" type="image/gif" href="icons/website.gif" />
<link rel="alternate" type="" href="" title="" />
<link rel="meta" type="application/rdf+xml" href="metadata.rdf" />
<link rel="«start / home»" href="" title="Homepage" />
<link rel="help" href="" title="Help" />
<link rel="author" href="" title="About the author" />
<link rel="copyright" href="" title="Copyrights" />
<link rel="up" href="" title="Up one level" />
<link rel="first" href="" title="First page in collection" />
<link rel="previous" href="" title="Previous Page" />
<link rel="next" href="" title="Next Page">
<link rel="last" href="" title="Last page in collection" />
<link rel="index" href="" title="Index" />
<link rel="«contents / toc»" href="" title="Table of Contents" />
<link rel="search" href="" title="Search Site" />
<link rel="glossary" href="" title="Glossery of keywords and phrases" />
<link rel="bookmark" href="" title="My Bookmark" />
<link rel="chapter" href="" title="" />
<link rel="section" href="" title="" />
<link rel="subsection" href="" title="" />
<link rel="appendix" href="" title="" />
<style type="text/css" title="Main Style" media=""><!--
--></style>
<style type="text/css" title="Main Style" media=""><[CDATA[
]]>
</style>
<script type="text/javascript"><!--
// -->
</script>
<noscript><div></div></noscript>
<script type="text/javascript"><[CDATA[
// ]]>
</script>
<noscript><div></div></noscript>
<script type="text/javascript" src="script.js"></script>
<noscript><div></div></noscript>
<base href="" />
<script type="text/javascript"><!--
// -->
</script>
<noscript><div></div></noscript>
<script type="text/javascript"><[CDATA[
// ]]>
</script>
<noscript><div></div></noscript>
<script type="text/javascript" src="script.js"></script>
<noscript><div></div></noscript>
<div>
</div>
<p>
</p>
<br />
<img src="" width="" height="" alt="«Alternative Text»" />
<span></span>
<q></q>
<blockquote cite="">
</blockquote>
<address></address>
<iframe src="" width="" height="" name="" frameborder="0" title="Frame for page">
<noframes>
<a href="" title="View page">Go to ...</a>
</noframes>
</iframe>
<sub></sub>
<sup></sup>
<pre></pre>
<a href="" accesskey="" title=""></a>
<hr />
<ins cite="" datetime=""></ins>
<del cite="" datetime=""></del>
<dfn title=""></dfn>
<acronym title=""></acronym>
<abbr title=""></abbr>
<code></code>
<em></em>
<strong></strong>
<cite></cite>
<samp></samp>
<kbd></kbd>
<var></var>
<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>
<form action="" method="«get / post»">
<div>
</div>
</form>
enctype="multipart/form-data"
<input type="text" id="" name="" value="" size="" maxlength="" accesskey="" />
<input type="password" id="" name="" size="" accesskey="" />
<input type="file" id="" name="" value="" size="" accesskey="" />
<input type="checkbox" id="" name="" accesskey="" />
<input type="checkbox" id="" name="" accesskey="" checked="checked" />
<input type="radio" id="" name="" value="" acceskey="" />
<input type="radio" id="" name="" value="" accesskey="" checked="checked" />
<input type="hidden" name="" value="" />
<input type="submit" value="" accesskey="" />
<input type="reset" value="" accesskey="" />
<input type="image" src="" alt="" accesskey="" />
<input type="button" name="" value="" accesskey="" />
<button type="«submit / reset / button»" name="" value="" accesskey=""></button>
readonly="readonly"
disabled="disabled"
<select id="" name="">
</select>
<select id="" name="" multiple="multiple">
</select>
<optgroup label="">
</optgroup>
<option value=""></option>
<option value="" selected="selected"></option>
<textarea id="" name="" rows="5" cols="50" accesskey="">
</textarea>
<textarea id="" name="" rows="5" cols="50" accesskey="" readonly="readonly">
</textarea>
<label for="«input id / select id / textarea id»" accesskey=""></label>
<fieldset>
<legend accesskey="">This a form group</legend>
</fieldset>
<ol>
</ol>
<ul>
</ul>
<li></li>
<dl>
</dl>
<dt></dt>
<dd></dd>
<table summary="This is a data table of something" width="" cellspacing="" cellpadding="" border="1">
</table>
<colgroup span="1" width="">
</colgroup>
<col span="1" width="" />
<thead>
</thead>
<tbody>
</tbody>
<tr>
</tr>
<td headers="th-id1 th-id2 th-idn" «scope="«row / col / rowgroup / colgroup»" abbr="" axis="«category»"»></td>
<th id="th-id1" «headers="th-id1 th-id2 th-idn"» scope="«row / col / rowgroup / colgroup»" abbr="" axis="«category»"></th>
rowspan=""
colspan=""
<caption></caption>
<object width="" height="" data="" type="">
</object>
<param name="" value="" />
<!-- Bring in Flash into MS Internet Explorer, Netscape 4, Netscape 6+, Opera, Mozilla Firefox, SeaMonkey, Safari, Konqueror and other web browsers -->
<object type="application/x-shockwave-flash" data="myflashmvie.swf" width="400" height="400" id="myflashmovie">
<param name="movie" value="myflashmovie.swf" />
Alternative Content
</object>
<!-- Bring in Java 2 Applet into MS Internet Explorer for MS Windows -->
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="400" height="400" data="myapplet.class" type="application/x-java-applet;version=1.2">
<param name="code" value="myapplet.class" />
<!-- If applet is in a Java Archive (JAR): <param name="archive" value="myapplet.jar" /> -->
<!-- Any applet specific parameters: <param name="theText" value="Hi, this is a JApplet (useing class id for IE, Win)" /> -->
Alternative content
</object>
<!-- Bring in Java 2 Applet into Netscape 4, Netscape 6+, Opera, Mozilla Firefox, SeaMonkey, Safari, Konqueror and other web browsers -->
<object width="400" height="400" type="application/x-java-applet;version=1.2">
<param name="code" value="myapplet.class" />
<!-- If applet is in a Java Archive (JAR): <param name="archive" value="myapplet.jar" /> -->
<!-- Any applet specific parameters: <param name="theText" value="Hi, this is a JApplet (no class id for Netscape 4, Netscape 6+, Opera, Mozilla Firefox, SeaMonkey, Safari, Konqueror and others)" /> -->
Alternative Content
</object>
<!-- Bring in Quicktime Video to MS Internet Explorer for MS Windows -->
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="100%" height="100%">
<param name="src" value="quicktime.mov" />
<param name="controller" value="true" />
Alternative Content
</object>
<!-- Bring in Quicktime Video to Netscape 4, Netscape 6+, Opera, Mozilla Firefox, SeaMonkey, Safari, Konqueror and other web browsers -->
<object type="video/quicktime" data="quicktime.mov" width="100%" height="100%">
<param name="controller" value="true" />
Alternative Content
</object>
<!-- Bring in RealVideo to MS Internet Explorer for MS Windows -->
<object width="320" height="240" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param name="controls" value="ImageWindow" />
<param name="autostart" value="true" />
<param name="src" value="real.rm" />
Alternative Content
</object>
<!-- Bring in RealAudio into Netscape 4, Netscape 6+, Opera, Mozilla Firefox, SeaMonkey, Safari, Konqueror and other web browsers -->
<object width="320" height="240" data="real.ram" type="audio/x-pn-realaudio-plugin">
<param name="controls" value="All" />
<param name="autostart" value="true" />
Alternative Content
</object>
Web-based Code Snippets are copywritten 2008 to Legend Scrolls and Peter Davison.
Web-based Code Snippets are licensed under the Creative Commons Attribution 3.0 Unported.