using div for css image- image not displaying on html

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

Can anyone tell me why this image will not display? I’m using BBedit and the image is in the same folder as the index and style.

HTML:

<div class=”imghome”></div>

CSS:

imghome{
display: block;
height: 300;
width: auto;
background-image: url(“/pineapplenoir.jpg”);
}

‫أضف إجابة

تصفح
تصفح

مجهول يجيب