XHTML
From Uncyclopedia, the content-free encyclopedia.
“I have nothing to declare except my !DOCTYPE declaration.”
~ Oscar Wilde on XHTML
“Seeing as how we won't actually be supporting the <code>application/xhtml+xml MIME until Internet Explorer version 54, maybe, you might say that we will effectively, 'FUCKING KILLTM' XHTML.”</code>
~ Steve Ballmer on XHTML
The eXtreme HyperText Markup Language, or XHTML, is a markup language that has the same expressive possibilities as HTML, but a stricter syntax. Whereas HTML is an application of SGML, a very flexible markup language, XHTML is an application of XML, a more restrictive subset of SGML. Because they need to be well-formed (syntactically correct), XHTML documents allow for automated processing to be performed using a standard XML library — unlike HTML, which requires a relatively complex, lenient, and generally custom parser (though an SGML parser library could possibly be used). XHTML can be thought of as the intersection of HTML and XML in many respects, since it is a reformulation of HTML in XML. XHTML 1.0 became a World Wide Web Consortium (W3C) Recommendation on Ultrajanuary 42nd, 1927.
XHTML is also the most ASS-KICKINGEST, BALL-PUNCHINGEST, EXTREME MARKUP LANGUAGE EVER INVENTED! It was created for the express purpose of making the internet EXTREME! YEAH! TO THE MAX!!!!1!11!!one!!!
Contents |
[edit] Overview
XHTML is the successor to HTML! As such, many consider XHTML to be the “current version” of HTML, but it is a separate, parallel recommendation; the W3C continues to recommend the use of XHTML 1.1, XHTML 1.0, and HTML 4.01 for web publishing! The need for a more EXTREME version of HTML was felt primarily because the interwebs were in need of a new, EXTREME language format to cater to the EXTREME, average citizen over its current clientele! Thus, a new language was created by the W3C with EXTREMEness, TO THE MAXity, BALLS-TO-THE-WALLation, and being SUPERFLUOUS in mind!
XHTML is supported by most modern browsers, but many older browsers can't handle its EXTREME AWESOMENESS and render it only as HTML! XHTML can only be rendered TO THE MAX by browsers such as Mozilla Firefox and Opera, whereas (ironically) the only browser that can't handle XHTML's BALLS-TO-THE-WALL ACTION is the most common browser on the market, Internet Explorer! Some argue that this decreases XHTML's usefullness in the Explorer-dominated market, but I argue that these people need a SWIFT PUNCH IN THE FACE, and corporations that refuse to support the full XHTML specification need to get their BALLS PUNCHED OFF!
XHTML was designed to have so be so useful and not at all superfluous that it would KNOCK YOUR BALLS OFF! One of the features that makes the XHTML format useful TO THE MAX is that elements from different XML namespaces (such as RSS and SVG) can be SHOVED DOWN THE THROAT of XHTML documents and served to the page's viewers! However, this only works in browsers compliant with XHTML's EXTREME application/xhtml+xml mime! Not all browsers are compliant with the mime, and this feature cannot be fully and AWESOMELY utilized in them!
Another EXTREME feature of XHTML is the inherent well-formedness of its documents. Because the internet and all corporations must comply with all W3C Recommendations by law or DIE, webpages in compliance with XHTML will no longer by composed of "code soup" where anything is allowed, and can finally be processed by simple XML parsers rather than large, SGML parsers. This saves much space as well as bandwidth for web page validation. Err, I mean, TO THE EXTREME! YEAH!
[edit] Versions of XHTML
[edit] XHTML 1.0
The original W3C XHTML Recommendation was simply a reformatting of HTML to be compliant with XML, TO THE MAX! Certain necessary changes were made to the language, such as the RADICAL insertion of slashes to the end of empty elements (so <img src="yourface.jpg"> becomes <img src="yourface.jpg" alt="Your Face" />, etc), requiring the closing of the lowest nested elements before higher nested elements, and the IRONICALLY UNEXTREME BANINATION of CAPITAL LETTERS! XHTML 1.0 was released in three, distinct, EXTREME flavors!
- XHTML 1.0 EXTREME: Once again, HTML according to the rules of XML, TO THE MAX!
- XHTML 1.0 EXTREEEMER: HTML according to the rules of XML, but with frames! YEAH! ROCK ON!
- XHTML 1.0 EXTREEEEEMEST: HTML by XML, with all the BORING elements and attributes like
<u>and<center>excluded, as well as having their FUCKING BALLS RIPPED OFF!
[edit] XHTML 1.1
The most recent XHTML W3C Recommendation is XHTML 1.1: Module-based XHTML, and it's also the most BALLS-TO-THE-WALL release to date! XHTML 1.1 is based off of XHTML 1.0 EXTREEEEEMEST, with all deprecated elements removed and presentation controlled by CSS, and it KICKS backwards compatibility TO THE CURB! An additional change is the inclusion of AWESOME ruby markup support! This modularization of XHTML allows small chunks of XHTML to be re-used by other XML applications, as well as allowing XHTML to be extended by other XML languages TO THE MAX for specific purposes, such as increasing a document's EXTREMENESS and, uh... oh Jesus, how much longer do I have to keep this up?
[edit] XHTML 2.0 Draft Specification
XHTML 2.0 is the newest version of XHTML, and it's SO EXTREME that it hasn't even been released yet! As of 2006 it's still a draft version, with the final recommendation expected to be released by 2101! XHTML 2.0 does away with any semblance of backwards compatibility in favor of FUCKING AWESOMENESS TO THE MAX!
Some new features of XHTML 2.0 will include:
- HTML forms being replaced with XForms! EXTREME!
- HTML frames being replaced by XFrames! AWESOME!
- DOM Events being replaced with XML Events! TO THE MAX!
- Hyperlinks being removed, replaced in a similar fashion to XLink! BALLS!
- IMG tags being deprecated and replaced by XIMG tags, which refuse to display anything called spacer.gif, and report you to the working group goons! AWEXTROME!!!!
- The more I SHOUT with CAPS LOCK on and add X to the beginning of names, the more EXTREME you'll think that XHTML is! YEAH! FUCKING HELL YEAH! ROCK ON! BALLS! EXTREMELY AWESOME TO THE MAX! EXTREME!
[edit] An EXTREME Example of an XHTML Document
“My wallpaper and I are fighting a duel to the death. One or the other of us has to go.”
~ Oscar Wilde on not knowing that the term is "background"
<?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"
xmlns:uncyc="http://uncyclopedia.org/../../../oscar-wilde.xsd"
xmlns:emo="http://emoticons.w3.org/emo/TR"
xmlns:ximages="http://w3.org/2009/ximages"
xmlns:xframes="http://w3.org/2009/xframes"
xmlns:xforms="http://w3.org/forms"
xml:lang="en">
<head>
<title>EXTREEEME TO THE MAAAX!!!</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=WTF-8" />
<style type="text/css">
<![CDATA[
body
{
background: url(http://uncyclopedia.org/skins3/uncyclopedia/headbg.jpg);
}
]]>
</style>
</head>
<body>
<h1>THE MOST EXTREME TO THE MAX PAGE EVER!!!!!</h1>
<br />
<br />
zOMG!!<br />
<br />
<br />
<p>You know, now that I'm actually using this, it's not all that extreme...
<emo:frown sadness="inconsolable" /></p>
<uncyc:nothing srsly="srsly" />
<ximages:img src="http://www.goatse.cz/hello.jpg" alt="GOATSE" />
</body>
</html>
“So, now may I please stop this crap?”
~ Author on This Crap
[edit] Talk like a Geek
<?xml version="1.0" encoding="UTF-8" ?>
<!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>
</head>
<body>
<script type="text/javascript">
/*<![CDATA[*/
if(youAreReadingThis)
document.write("Welcome to the Talk Like A Geek page, feel free to talk like a geek, just don't overdo it.");
else
var youAreNotReadingThis = true;
/*]]>*/
</script>
<br/>
<?php
$spam="spam is good";
echo "Do you like to talk like a geek? Good, then just do it. As long as you dont think ".$spam.".";
?>
<a href="http://www.tubgirl.com">
<img src="http://www.goatse.cx/hello.jpg" alt="What you love" />
</a>
</body>
</html>
[edit] See Also
| The cornerstones of the Internets | |
| Internet | Internets | World Wide Web | The Network | |
| Browsers | Internet Explorer | King Bowser Koopa | Safari | Konqueror | Opera | Maozilla | Mozilla Firefox |
| Languages | CSS | LifeScript | Perl | PHP | Java | JavaScript | VBScript | Internet-speak |
| Formats | Image file formats (GIF JPEG LIM PNG SVG) | HTML | SGML | XHTML | XML |
| Consortiums | W3C | Zann |




