+ 2
What is the error?
<html> <head> <title>selettori</title> body{ background-color:blue; } </head> <body> <h1>la mia pagina </h1> <p>aiuto</p> </body> </html>
5 Respuestas
+ 10
the css rule should be in a <style> tag like this:
<style>
body{
background-color: blue;
}
</style>
+ 7
You forgot the style tag !
<html>
<head>
<title>selettori</title>
<style>
body{
background-color:blue;
}
</style>
</head>
<body>
<h1>la mia pagina </h1>
<p>aiuto</p>
</body>
</html>
+ 4
you missed the style tag as by@szabo
+ 2
i think it's more easy to control you code at all using an external CSS file.
0
You forgot to use the <style> tag.
Do you have any experience with css?
I would advise using an external css instead of imbutyl on the page.
But goes of your preference