हिंदी

Why should you specify a background color if you are using an image for the actual background of your page?

Advertisements
Advertisements

प्रश्न

Why should you specify a background color if you are using an image for the actual background of your page?

विकल्प

  • The background color will be shown until the image loads.

  • In case the image doesn't fit right.

  • So the text shows up better.

MCQ
Advertisements

उत्तर

The background color will be shown until the image loads

Explanation:

Web browsers display the specified background color as a fallback while the background image file is downloading or in case the image fails to load, ensuring that text remains legible and styled in the interim.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: HTML- I: Basic HTML Elements - Assisted Practice [पृष्ठ १२१]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 3 HTML- I: Basic HTML Elements
Assisted Practice | Q 29. | पृष्ठ १२१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×