That was then and this is now, as the saying goes.
I'd be lax if I didn't tag this caveat to the end...
The code I originally wrote was great for HTML 3.2
It's all good for HTML v4.01 too, though a few it's are classed as "deprecated" which is a polite way of saying it will still work, but don't expect it to stay like that forever. Even <center/> is going/gone !
If you hope to create a masterpiece site or get into web design one day, forget everything you have just learnt! XHTML relies heavily on Cascading Style Sheets, but with the warning it should also work without them. XHTML v1.1 is even stricter!
Yes, I will probably write extensive tutorials on both in the near year or so, unless someone wants it sooner them I'll maybe get right on it. Here's the 101 for you. Elements (ie font size, table colour, margins) are all controlled by CSS. The obvious beauty of this is you can change the design of 10,000 pages by changing this one small file. Secondly and finally, all tags must be closed. Here's a few examples, all of which are backwards compatible:
<b> and <i> are going. Use CSS or the older <strong> and <em>
<img src="logo.gif" border="0" width=20 height=0> becomes
<img src="logo.gif" border="0" width="20" height="0"></img> or better yet:
<img src="logo.gif" width="20" height="0" /> ( border="0" can be done in the CSS)
You get the idea anyway. As ever, ask if you get stuck
|