The first thing that should appear in your HTML file is a doctype or "Document Type Definition", If you are unsure which one to use choose the first version. To learn more about the purpose and uses of the doctype statement visit W3C
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> NOTE: Choose only one of the DTD's above <html> <head> <title>Write a short descriptive title for each page. Be sure to use your target keywords in the title. Limit the title to 15-20 words</title> <META Name="description" content="Enter a brief description of your page here. Be sure to use your target keywords. Limit the description to 30-50 words"> <META Name="KeyWords" content="Enter keywords and phrases. Separate each with a comma and a space"> <META NAME="robots" CONTENT="All"> <META NAME="rating" CONTENT="All"> <META NAME="revisit-after" CONTENT="1 day"> <META NAME="categories" CONTENT="internet"> <META NAME="distribution" CONTENT="Global"> <META NAME="resource-type" CONTENT="document"> <META NAME="author" CONTENT="Enter your name or the name of your company"> </head> <body>
The visible content of your website will go here. </body> </html> Always check to be certain that your page ends with </body> </html> Remember, there can only be one end body and one end HTML tag. |
Protect Your Online Accounts from Phishing Scams
Ways to Bring Traffic to Your Website
How to Manage Directory Submissions
Search Engine Optimization (SEO) Using Keywords and Phrases
Copyright Your Content - Things you may like to know about copyrights
Protect Yourself From Identity Theft
Adding Content To Your Site Every Day
Back to Top § Home
![]()