|
Advanced basic page
To create more information about your site you need to add more code to the Head. Following is a better page description.
HTML version description
This allows the browser to know more about the standards which you are going to apply to your page. This is a note, indicated by the <!.....> code and is for reference.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
This code states that it is an HTML document-//conforming to W3C standards/using HTML 4/ in English. The URL is used to validate your code, see next page.
It is important to put this in your document because if you do not the browser will render the file in Quirks Mode, a system that allows the browser to view old web pages that do not conform to current web standards. The minimum bit of information needed is:
<!doctype html>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> replace with your document's title </title>
<meta name="keywords" content="place, keywords, here, with, a, comma, between, each, word,">
<meta name="Description" content="Place a description of the content of each web page here">
</head>
<body>
replace with your document's content
</body>
</html>
|
|
|