Structured XHTML 1.1 Document : html « Tags « HTML / CSS






Structured XHTML 1.1 Document

    

<?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">
<head>
<title>Structured XHTML 1.1 Document</title>
</head>
<body>
    <h1>header</h1>
    <p>before<em>left turn</em></p>
    <h2>header 2</h2>
    <p>pound.</p>
    <hr/>
</body>
</html>

   
    
    
  








Related examples in the same category

1.'html' identifies an HTML document
2.XHTML headers
3.Body tag
4.HTML document structure
5.Working with Structure
6.Set margin and padding for both and body
7.Style for HTML
8.Using CSS with HTML
9.An HTML page with CSS rules and HTML attributes
10.Template to illustrate all
11.'xmlns' declares a namespace for creating unique custom tags in the HTML document
12.'version' indicates the version of HTML