Monday, June 23, 2008

Learn HTML - Basic document

below is the script to make a html document. You must save this script with .html or .htm extention.

<html>
<head>
<title> Insert title here...</title>
</head>

<body>
Insert content here....
</body>

</html>


For additional you advice to add:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

at the beginning html script


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
add this script after open tag head.

No comments: