Consider the following CSS: #navbar li { display: inline; } #navbar li a { color: green; text-decoration: none; line-height: 2em; width: 6em; display: inline-block; text-align: center; } #navbar li a:hover { color: red; background-color: orange; } Based on the above CSS, which one of the following statements is true? Select one: When we put our mouse pointer over the hyperlink, the text becomes green. O b. The hyperlink text within a div with the class of "navbar" is green in color. The hyperlink text within a div with the id of "navbar" is centered. O d. Due to text-decoration:none, the hyperlink text within a div with the class "navbar" is black in color (default color). е. When we put our mouse pointer over the hyperlink, the background becomes green.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter15: Using Javafx And Scene Builder
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

q19- 

Consider the following CSS:
#navbar li
{
display: inline;
}
#navbar li a
{
color: green;
text-decoration: none;
line-height: 2em;
width: 6em;
display: inline-block;
text-align: center;
}
#navbar li a:hover
{
color: red;
background-color: orange;
}
Based on the above CSS, which one of the following statements is true?
Select one:
O a.
When we put our mouse pointer over the hyperlink, the text becomes green.
O b. The hyperlink text within a div with the class of "navbar" is green in color.
Ос.
The hyperlink text within a div with the id of "navbar" is centered.
d.
Due to text-decoration:none, the hyperlink text within a div with the class "navbar" is black in color (default color).
O e.
When we put our mouse pointer over the hyperlink, the background becomes green.
Transcribed Image Text:Consider the following CSS: #navbar li { display: inline; } #navbar li a { color: green; text-decoration: none; line-height: 2em; width: 6em; display: inline-block; text-align: center; } #navbar li a:hover { color: red; background-color: orange; } Based on the above CSS, which one of the following statements is true? Select one: O a. When we put our mouse pointer over the hyperlink, the text becomes green. O b. The hyperlink text within a div with the class of "navbar" is green in color. Ос. The hyperlink text within a div with the id of "navbar" is centered. d. Due to text-decoration:none, the hyperlink text within a div with the class "navbar" is black in color (default color). O e. When we put our mouse pointer over the hyperlink, the background becomes green.
Expert Solution
steps

Step by step

Solved in 5 steps with 6 images

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT