
For this step we are simply removing any HTML that creates and controls the structure of the page. All DIV and SPAN statements have been removed along with ID and CLASS inside list tags (e.g. UL and LI). The last two specify the controls in the CSS definitions to be used to modify the HTML.
I have also removed in the hypertext commands the use of _Parent. For instance...
<A target=”_parent” href=”...”>
The use of _parent is to indicate that the same browser window is to be used to display the page, not a new one. However, when no target is specified then the browser assumes that the same window is to be used. So we can remove those.
To make sure the page passes vaildation, hypertext references must have the file names in speech marks. In fact anything that is not a number in HTML commands must be surrounded by them. For instance...
<a href=”filename.htm”>
<body bgcolor=”white”>
The first couple of times through validation picked up a few errors such as not using speech marks, spaces in HTML tags etc. However a few errors would not go away.
I use Ubuntu Linux and the text editor by default saves files in Western (ISO-8859-15), this means the way the characters in the HTML document are saved. After saving the file as UFT-8 all other errors that I could not get rid of vanished. I am sure Windows users will not have the same problem.
So now the page passes validation, we can now proceed to the next step
You can view the page that has been discussed here. Other pages have not been edited yet, once the home page has been created and we are happy with it, it can be used as a template for the rest. That ensures consistency and the same look and feel through out.
Permanant Link | Tag with Del.icio.us | Category : Projects
if you liked this article then subscribe to the RSS feed to keep up to date automaticly.
My name is Bob Toovey, a UK expat living in south west France. I have worked in IT for over 20 years. I hope to give you helpful advice about using your computer and more whether you run a business or just enjoying expat life.