Home > Web Front-end > HTML Tutorial > How to set background image using html? _html/css_WEB-ITnose

How to set background image using html? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:14:14
Original
3212 people have browsed it

When I write a web page in HTML, when I set the background image, it seems that the image is too big and cannot be displayed in full. What should I do if I want all the images to be displayed?
What if you want to add a slider? Thanks for the help!


Reply to discussion (solution)

Use the width and height attributes to control it. You can find it by checking the attributes.

Make the background layer bigger and the size is the same as the picture.

Use background for the background image. -image

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template