/ Published in: XHTML
I use this to get started with my new page
Expand |
Embed | Plain Text
<!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> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="icon" type="image/x-icon" href="favicon.ico" /> <link rel="stylesheet" type="text/css" href="style.css" media="screen" /> </head> <body> <div class="wrap"> <div class="header"> </div> <div class="main"> <div class="content"> </div> <div class="sidebar"> </div> </div> <div class="footer"> </div> </div> </body> </html>
Comments
Subscribe to comments
You need to login to post a comment.

Needs some more default meta tags, but a nice start for my projects. Thanks!
when you miss the xml-declaration-tag and specify the content-typ as "text/html", save your time and use the html doctype right from the start. Most modern user agents use their sgml-oriented parser by default, when neither a xml-decl-tag together with a content-type like "application/xhtml+xml" exist, nor the file extension is like xhtml. And, FYI: by default Apache sends html files as "text/html". So under those conditions, the intention to make use of the advantage of the xhtml cannot be achieved, due to a fragmentary implementation/configuration.