XHTML Tips

Necessary Information for the HTML/XHTML file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>CHANGE ME</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="CHNAGE ME, CHANGE ME" />
<meta http-equiv="description" content="CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME " />
<link href="SOMESTYLESHEET.css" rel="stylesheet" type="text/css" />
</head>

By inserting this information, you will ensure that your page will validate more easily in the automated tools that we sometimes use.

Validation tools:

WatchFire

W3C Validator

Dr. Watson

The Marquee Tag:

This is an IE specific tag, although it is supported (with about a 15 second delay) in Firefox. You can do this just using standard WYSIWYG tools like Frontpage (like this), or by modifying the code (like this) OR you can also do images in the marquee, as well, with each image being a separate link (like this).

 

For XHTML Forms:

There are three ways to do this:

The sample files:

For the Send an Email, remember to include ENCTYPE="text/plain" in the form tag; otherwise, you will get an attachment called POSTDATA.ATT.


It is possible to take over and hijack someone's webpages...

The following shows the difference between the beginning of the file for the main.htm ( a frame page section for a client of mine...There's six hours of my life I won't ever get back...)

Back to Class Tips

Back to Home