CSS Styling Images


  1. Using Absolute Positioning is known as _________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    This method also requires an additional <span> element to work. But the <span> element is not wrapped around the text but used to position our image.


  1. Using a bogus image is also called as _______.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    This method also requires a bogus image in addition to a usual <span> element to work properly. The image is a 1×1 pixel transparent GIF. The main purpose is to show users the alt text if images are turned off.



  1. Using actual image with inline image method is also known as __________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    In this method, we use the actual image for image replacement. The image has alt text that will be shown when images are turned off. This technique does not seem to be good for SEO. Images will still be visible with CSS turned off and images kept on.


  1. Using Pseudo element is known as _____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    This technique used the pseudo element to push the text aside.



  1. What is the default value of visibility?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The default value of visibility is visible, the element is visible. When set to hidden, the element is invisible but it still takes up space, initial sets the property to its default value. Inherit inherits this property from its parent element.