?
Case-Based Critical Thinking Questions
?
Case 5-1
Alex, a web designer, is assigned the task of creating a mobile-device-friendly website for a leading fashion outlet called AllStyles. A desktop version of AllStyles's website already exists. Alex can refer to this desktop version of the website to create the mobile website design.
Alex has placed each of the nested lists within a class called submenu. He wants to display a nested submenu only when the user hovers the mouse pointer over its associated submenu title. Which of the following selector formats should be used by Alex to select the submenu that is immediately preceded by a hovered submenu title??

A. ?*submenuTitle:hover+

    submenu
    B. ?submenuTitle:@hover+ul.submenu
    C. ?a.submenuTitle:hover+ul.submenu
    D. ?a.submenuTitle: ul.submenu+hover


    Answer: C

    Computer Science & Information Technology

You might also like to view...

Rectangles have a Stroke property, which defines the color of the shape’s outline. If either the Fill or the Stroke is not specified, that property will be rendered ________. a)

a) translucently b) opaquely c) shaded d) transparently

Computer Science & Information Technology

What will be the output of the following program when the button is clicked on?

``` Private Sub btnDisplay_Click(...) Handles btnDisplay.Click Dim word As String word = "hairbrush" Decapitate(word) txtBox.Text = word End Sub Sub Decapitate(ByRef word As String) 'Chop the first letter off the word. word = word.Substring(1) End Sub ``` (A) airbrush (B) hairbrush (C) hairbrus (D) h

Computer Science & Information Technology

Fast Ethernet adopted the point-to-point and the ____________________ network topology with a switch or hub as a central node of the network.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which table style option is useful to display aggregated data when it is checked?

A) Filter Button B) Total Row C) Last Column D) Header Row

Computer Science & Information Technology