Some days ago I was thinking to put some pages of the website online. A website which I was working on for some weeks, redesigning, and each time creating another website that fits the colors and theme.
That was the dumbest fault I ever made in html. First when I posted the topic I saw I didn’t added </html>, and the second that was posted here, I dind’t close the title tag with </title> I made a huge amount of wesbites, but this never happened before. Well thanks for the people who helped me out. Btw, any changes I could add to the html code? Because WC3 gives a lot of error when validating the html file. Some times I see tags in red that are just ok, but wc3 says it doesn’t exist, by why does it work then?
Btw I use Notepad (plane text editor) to build websites. 8)
link tags can show a fundamental page structure, but more likey, a css page link. <link rel="…" type=“text/css” href="…" />
and the site looks good, the code is long, and it really should be xhtml, but at least you used css.
I was thinking a long time to make it xhtml, but I don’t know if it takes more time to make it xhtml then valide html with the errors in it now. xhtml seams to be the future use of websites like php and xml. I know if you want to make it xhtml, you need to close which you opened. :-?
closing all tags isn’t usually a problem with html
while I can understand no closing
tag, - [list item, for bulleted and numbered lists] tags don’t require a closing tag, but do allow it
however, I’d imagine with xhtml the closing tag would be required, I don’t think <li /> [as you would do for
tags] would cut it.
[then again, I havent’ tried nor played with xhtml. My latest completed project was html 4.0 transitional, and can be seen on http://hs-mc.org . The duplicate title tag or the occasional image without alt text was however probably not my doing. I am no longer officially in control of that site either. oh, and look at the source code for that site, particularly the left navigation bar. it is an unordered list [nested unorded list for the menus], css takes care of the positioning and all that good stuff [so, it probably doesn’t work in IE:Win 5.0 or earlier, and definitely not in NS:4 or earlier] ]