Web Development and Design Foundations with HTML5 (8th Edition)
Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
Question
Book Icon
Chapter 4.5, Problem 1CP
Program Plan Intro

“background-image” property:

It is a Cascading Style Sheet (CSS) property used to apply the image as background for an element. By default, the background image sets at top-left corner of a tag. The background-image can repeated horizontally and vertically by using “repeat” property. The image name must be entered with its format.

“background-repeat” property:

This property used to repeat an element that is displayed on web page; it can be divided into three ways:

  • repeat-x ( Used to repeat an element in horizontal way)
  • repeat-y (Used to repeat an element in vertical way)
  • no-repeat (Repeating once)

Here, “background-repeat: no-repeat” property used to sets the image once in the web page.

Blurred answer
Students have asked these similar questions
the background-position in the following CSS is: body { background-color: #FFCC66; background-image: url("butterfly.gif"); background-repeat: no-repeat; background-attachment: fixed; background-position: 50% 100%; Select one: a. bottom center b. center bottom C. right center d. center right
Hi, this is CSS related question I need help regarding of moving the "Content" near the "Sample"   I really need help of adjusting the spacing between them. What code should I use in CSS to edit it? Thank you so much!
Question 1 What are the problems with the above code? Consider the syntax, structure, and writing style.  Question 2 Write CSS code that tidies up the above code. Your code should minimise the use of inline style.  Queston 3 Add a CSS selector for all paragraphs (p elements) under div elements with class “exam” to make their background colour blue.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning