شرح صفوف ومحتوى الفقرة
تُستخدم الخاصية [background] لإضافة صورة خلفية للجدول في لغة HTML، كما يمكن استخدام خاصية [background] منفصلة أو مع خاصية [bgcolor].
قيمة background: تكون عبارة عن مسار صورة الخلفية،
مثل: "background="/images/photo6.jpg.
HTML Background Attribute
إضافة صورة خلفية للجدول عن طريق background attribute.
HTML
<table border="1" bordercolor="red" bgcolor="yellow" background="https://www.closetag.com/images/photo6.jpg">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Email</th>
<th>Age</th>
<th>Study</th>
</tr>
</table>