Fondo e imagen.

Hola. Por favor, necesito ayuda. Todo iba perfecto hasta que intenté agregar fondo e imagen. Escribí los textos, guardé antes de salir, pero en la vista previa nada cambia.
Ya lo intenté varias veces y no salgo del problema. No quiero seguir con el curso si no resuelvo esto. Evidentemente estoy haciendo algo muuuuuuy mal y no me doy cuenta de qué es.
Si pueden contestarme...¡gracias!
Aquí está lo que tengo hasta ahora
En Estilos:
body {background-color: #E6E6FA}
En index
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Pagina Principal del Ejemplo CCTW</title>
<link real="stylesheet" href="estilos.css" type="text/css"
media="all">
</head>
<body>



Bienvenidos a mi página web. Muy pronto estará lista.</p>


Página creada gracias a CCTW.</p>
</body>
</html>


Muchas gracias.
:roll:
Para ponerle una imagen de fondo a tu Body debes poner:
;background-image: url(destino/nombre.formato); background-repeat: repeat (si queires que tu fondo se repita) background-repeat: no repeat(si quieres que no se repita tu fondo); background-repeat: repeat-y(si quieres que se repita en el eje Y; background-repeat: repeat-x (si quieres que se repita en el eje X; background-position: (pude ser Left, Right, Bottom, Top, center)
Ejemplo:
body {background-color: #E6E6FA ; background-image: url(objetos/fondo.png) ; background-repeat: no-repeat ; background-position: left bottom}

Hay quedaria: de fondo la imagen fondo.png que se encuentra dentro de la carpeta objetos, la imágen no se repite, y aparecera abajo a la izquierda
Hola,

Solo relacionaste mal el index con estilos.css. Es:

<link rel...> y pusiste link real...

Saludos
ATRÉVETE A VIVIR SIN VIOLENCIA
saludos
estoy teniendo el mismo problema, al darle preview no se ven los colores aqui les dejo como lo tengo:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>"pagina principal del ejemplo CCTW"</title>
<link rel="stilesheet" href="estilos.css" type="text/css"
media="all">
</head>
<body>



Bienvenidos a mi pagina web. Muy pronto esta lista!</p>


Pagina creada gracias a CCTW</p>
</body>
</html>


y en estilos
body {background-color: #E6E6FA}



yo creo que he hecho todo tal y cual dice en las instrucciones pero al darle preview no sale ningun color
AQUI tienes el fallo

<link rel="stilesheet" href="estilos.css" type="text/css"

debe ser

stylesheet

:wink: :wink:
gracias el error que me marco es cierto pero tambien me estaba fallando esto <link rel="stylesheet" type="text/css" href="estilos.css" /
media="all">
y debe ser asi

<link rel="stylesheet" type="text/css" href="../estilos.css" /
media="all">

nuevamente gracias y posteo este resultado para alguien que tenga el mismo error ahora ya se cual era