• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

HTML issue

Couple of tips.
Forgive me, I am on a german keyboard and cant do the angled brackets and stuff.
It has also been a long day so may need corrections. I have not written any HTML in ages. There are numerous on line beginers guides.

Looking at it you can safely edit out the duplicated bits. Cut from /HTML onwards

HTML normally uses pairs of tags to mark areas.

You would denote the start and end with (in angled brackets)
HTML to /HTML

within that you would have a header to contain your metatags and stuff and a body
so
HEAD /HEAD
BODY /BODY

I would always recomend putting the entire body in a 1 cell table set to 95% to give nice neat borders on any page, but dont have to.

TABLE WIDTH=95% HEIGHT=95%
Rows come in pairs but dtat items dont so
TR TD TD TD /TR will give a row with 3 cells. Use COLSPAN and ROWSPAN to merge if other lines need less cells.
HR BR and P are also singles not pairs giving horizontal line, line break and paragraph.

If you have any spurious text or missing text it is usualy because you have not got your pairings right.
I do HTML by hand. The clever editors put too much spurious crap in the code. Take the time and learn it.
 
I agree with that. If you want to develop and modify pages regularly the easy HTML creators like Dreamweaver, Frontpage etc. are more trouble than they are worth. Too much unecessary code which can get in the way.
 

Advertisers

Back
Top