XHTML


XHTML stands for EXtensible HyperText Markup Language.

It is a markup language that allows you to edit websites. It is based on HTML 4.01, but its rules are much stricter and more versatile than HTML.

XHTML is a new formulation of HTML using the meta markup language XML, which is a key advantage in its usability because many data formats are based on XML and modern devices require a strict version of markup language because they cannot display bad source code.

XHTML sample code
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!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">
  <head>
    <title>An XHTML document</title>
  </head>
  <body>
    <h1>My first headline</h1>
    <p>First paragraph with text content</p>
    <h2>Second heading</h2>
    <p>Another paragraph with text content</p>
  </body>
</html>