apezVal
04-07-2003, 03:47 PM
I think this web-site is great for learning HTML, CSS and JS,...all of which I am relatively new at so I have many questions some which may be stupid but nothing ventured nothing gained, right?
My question now is in reference to the use of the comment tags when style is placed into the <head> tag. Namely is this a required thing. structure:
<!--<style>yada..CSS..yada</style>-->
I have not used it (i.e. no comments) and gotten good results which, when I thought I was correcting for its absence, the page parsed surprisingly different (no back-ground color and different font-sizes). I have read that "commenting head-style" serves to prevent older browsers from displaying the style code, but i think this must now be changed. So should the style code be commented or not??
__JHG
My question now is in reference to the use of the comment tags when style is placed into the <head> tag. Namely is this a required thing. structure:
<!--<style>yada..CSS..yada</style>-->
I have not used it (i.e. no comments) and gotten good results which, when I thought I was correcting for its absence, the page parsed surprisingly different (no back-ground color and different font-sizes). I have read that "commenting head-style" serves to prevent older browsers from displaying the style code, but i think this must now be changed. So should the style code be commented or not??
__JHG