Answer the question
In order to leave comments, you need to log in
What is the best way to set an image in the background via HTML or CSS?
Previously, background images were connected via CSS. But recently I heard the opinion that it is better through HTML, because it is more convenient for the customer. If he wants to change the image, then he will only need to get into the HTML, and not look for it in CSS.
What are the pros and cons of both methods? How do you connect?
Answer the question
In order to leave comments, you need to log in
If it is intended that the background image can be changed, then yes, in html.
But the customer will not need to climb into html, the developer will take care and make sure that in html the image will be displayed from the admin panel, but this will not work with css
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question