Kod do pliku html:
<!DOCTYPE html> <html> <head> <title>Al-Sughari</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-- Alexander Al-Sughari 1P 07.05.2021 --> <style> body { margin: 0px; border: 0px; padding: 0px; } div { background-color: #AFEE78; border: 5px black solid; color: #FF0000; font-size: 42px; width: 900px; height: 150px; margin-left: auto; margin-right: auto; text-align: center; } </style> </head> <body> <div style="background-image:url(../img/inicjal_Al-Sughari.png)">Powtarzanie grafiki dla całego obszaru</div> <div style="background:url(../img/inicjal_Al-Sughari.png);background-repeat:repeat-y;backgroundcolor:#ffff99;">Powtarzanie grafiki w pionie</div> <div style="background:url(../img/inicjal_Al-Sughari.png);background-repeat:repeat-x;backgroundcolor:#ffff99;">Pwtarzanie grafiki w poziomie</div> <div style="background:url(../img/inicjal_Al-Sughari.png);background-repeat:no-repeat; background-size:400px 120px;background-color:#ffff99;background-position:center;">Powtarzanie grafiki o zadanej wielkości</div> </body> </html> <!-- Al-Sughari -->
Darmowy hosting
zapewnia PRV.PL