Nikki Freeman 110
Üstün
Merhaba. Sorum başlıktaki gibi. Bir HTML dosyasında arka plan olarak. JPG. PNG dosyası nasıl eklerim? Şimdiden teşekkürler.
<style>
body {
background-image: url('img.jpg');
}
</style>
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url('img.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
</head>
<body>
</body>
</html>
<style>
body {
background-image: url('img.jpg');
}
</style>
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url('img.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
</head>
<body>
</body>
</html>