- From: Simon Jessey <simon@jessey.net>
- Date: Wed, 2 Jul 2003 15:52:50 -0400
- To: <www-html@w3.org>
Better would be: HTML ---- <h1>Birkbeck College<h1> CSS --- h1 { color: red; background: transparent; text-align: center; } You can chose to embed the CSS within a <style> element in the <head> of the document, or refer to it externally (the most flexible method) with a <link> element in the <head>. It is always best to specify a background color when you specify a foreground color, by the way. Simon Jessey w: http://jessey.net/blog/ e: simon@jessey.net ----- Original Message ----- From: "Ramanan Selvaratnam" <rama@uklinux.net> Subject: HTML or CSS -- clarification needed > If I were to write > / > <h1><font color="red"><center>Birkbeck College</center></font> </h1> > > as > > / > > <h1 style="text-align: center; color: red">Birkbeck College</h1> > > I am still writing good HTML, am I not? > > Is it not the case that the latter is more compliant with modernising efforts of *HTML* or am I getting confused with CSS which is sepearte so the latter is HTML and CSS.
Received on Wednesday, 2 July 2003 15:53:09 UTC