HTML & CSS
How do I s ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
How do I set a
background image
for the item that would be
repeated horizontally?
(choose all the correct options).
background:src( "image.jpg" ) scale-x ;
background:url( "image.jpg" ) repeat-x ;
background-image:src( "image.jpg" ); background-repeat:x;
background-image:url( "image.jpg" ); background-repeat:repeat-x;
background:repeat-x url( "image.jpg" );
Explanation
The
parameter
allows you to set up to
five attributes
of the
background style
at the same time.
Values can go in any order,
the browser itself will determine which one corresponds to the desired
attribute.
background
attribute
element
html
tag
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
Related Content
Sometimes, when you enter the page, the button already lights up by de...
Is it allowed to use title attribute on any HTML element in HTM...
Specify the attribute of the tag that is used to reference the external s...
Which of the following statements are true to the names of identifiers...
What attribute blocks windows and does not allow to use and change inf...
H
TML & CSS
Quiz
Login to learn HTML & CSS
or
Read more about
HTML & CSS Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Keep exploring
HTML & CSS quizzes
How to make a shadow for text in gray?...
Which of the following is true about the pseudo-class ...
What is the difference between pseudo-elements :after and ...
What is the font-variant property for?...
Which color will word "text" has? <style> p{ ...
How to change the color of a link to blue when the cursor moves over i...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment