CanTBeaTme
Banned
- Lid geworden
- 25 jul 2006
- Berichten
- 235
de tekst zou in het rood staan als de browser css ondersteunt...
(dit is een voorbeeld letterlijk uit het boek)
toch doen mozilla 2.4 en internet explorer 7 het gewoon in het zwart?
fout van het boek?, of fout van mij?
<html>
<head>
<title>CSS Example</title>
<! Hide CSS properties within comments so old browsers
don't choke on or display the unfamiliar contents. >
<style type="text/css">
<!
h1 {color: red}
>
</style>
</head>
<body>
<h1>I'll be red if your browser supports CSS</h1>
Something in between.
<h1>I should be red, too!</h1>
</body>
</html>
(dit is een voorbeeld letterlijk uit het boek)
toch doen mozilla 2.4 en internet explorer 7 het gewoon in het zwart?
fout van het boek?, of fout van mij?
<html>
<head>
<title>CSS Example</title>
<! Hide CSS properties within comments so old browsers
don't choke on or display the unfamiliar contents. >
<style type="text/css">
<!
h1 {color: red}
>
</style>
</head>
<body>
<h1>I'll be red if your browser supports CSS</h1>
Something in between.
<h1>I should be red, too!</h1>
</body>
</html>