Fondo:
Este es un atributo para la etiqueta body usado para setear imagen de fondo.
<body background="./test.jpg">
</body>
El valor para este atributo es la ruta para el archivo de imagen. En este ejemplo la imagen la llamamos como test.jpg y está ubicada en el mismo directorio del archivo del html, por lo tanto usamos la ruta ./test.jpg
Esto es mayormente usado cuando necesitamos un fondo como lineas, etc.
La imagen del ejemplo es bastante pequeña como se muestra aquí 
Por lo tanto una imagen pequeña puede ser usada para setear como una gran página.
Combinando todos las etiquetas aprendidas:
Code:
<html>
<head>
<title> Mi Página
</title>
</head>
<body bgcolor="verde" background="./test.jpg">
Esta es mi primer página
</body>
</html>
Test It:
Copy the code or type the code in to the textbox shown under subtopics and click show.
Such a kind of background occur because when the image size is small it will be placed again next to it, until the size reaches the total height and width of the screen.
|