
Full Stack Web Development MASTERY Course - Novice to Expert - Styling Buttons and Links
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of setting 'margin: auto' in the CSS for a container?
To increase the font size
To center the container horizontally
To change the text color
To add a border
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property is used to remove the underline from an anchor tag?
font-style
text-decoration
text-transform
text-align
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'hover' pseudo-selector do when applied to an anchor tag?
Changes the text to bold
Applies styles when the mouse is over the element
Removes the element from the DOM
Changes the font size
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the 'visited' pseudo-selector affect a link?
It changes the link's color after it has been clicked
It hides the link
It makes the link bold
It adds an underline to the link
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between 'hover' and 'visited' pseudo-selectors?
'hover' is for when the mouse is over an element, 'visited' is for after a link is clicked
'hover' changes the font size, 'visited' changes the font color
'hover' is for buttons, 'visited' is for images
'hover' removes the element, 'visited' adds a border
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is the 'active' pseudo-selector not very useful for anchor tags?
Because it only works with images
Because it only applies when the link is clicked and held
Because it changes the text to uppercase
Because it removes the link from the page
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of adding a class to a button in HTML?
To apply specific styles using CSS
To change the button's text
To make the button unclickable
To add an image to the button
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?