Tutorials

Create a Valid XHTML Strict Page

Step 1: Create a Valid XHTML Strict Page

Correct Strict XHTML Page Structure

To create a valid XHTML Strict page start off with this basic document template:

<?xml version="1.0" encoding="UTF-8"?>
<!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">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <title></title>
</head>

<body>

</body>
</html>