Intro to CSS3 and HTML5

  1. Which kind of program can you use to edit a style sheet file like stylesheet.css?

    a. A Web browser like Internet Explorer or Safari
    b. A database management system
    c. A graphics editing program like Photoshop
    d. A text editor like Notepad or TextEdit
    A text editor like Notepad or TextEdit
  2. The three-digit hex code #ff00 is short for what six-digit hex code?

    a. There's no way to determine what the six-digit code would be
    b. #ff0000
    c. #ffffff
    d. #000000
    #ff0000
  3. Suppose you have a style sheet in your main website folder. In that folder, you also have a subfolder named pix. And in that pix subfolder, you have a picture file named myback.jpg. In the style sheet, what would be the correct syntax for using that picture as a background image?

    a. background-image:url(pix/myback.jpg);
    b. Background Image:pix/myback.jpg;
    c. backgroundimage:url(pix/myback.jpg);
    d. background-image:url(myback.jpg);
    background-image:url(pix/myback.jpg);
  4. Which of the following is the correct syntax for repeating a background image in the horizontal direction only?

    a. background-repeat:no-repeat;
    b. background-repeat:repeat;
    c. background-repeat:repeat-y;
    d. background-repeat:repeat-x;
    background-repeat:repeat-x;
  5. Which of the following is true about an external CSS style sheet?

    a. Its filename extension is .htm or .html
    b. Its styles can apply to only one Web page
    c. It can contain only CSS style rules
    d. It can contain HTML tags
    It can contain only CSS style rules
Author
jdavis123
ID
354335
Card Set
Intro to CSS3 and HTML5
Description
Lesson 3 - Styling Backgrounds
Updated