שיעור 2.1 בבנית אתרים תמונת רקע HTML

הוספת תמונת רקע תגית background-image

הוספת תמונת רקע מתבצעת רק עבור תגיות שתופסות שטח/ מכלים. לדוגמה: body,div,table

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body style="background-image: url(http://cdn.sheknows.com/articles/2013/04/Puppy_2.jpg)">
<br>
<br>
<br>
<p> וכך מוספים תמונת רקע </p>
</body>
</html>

הוסף תגובה


קוד אבטחה
רענן