Hyperlinks/CSS Test Flashcards
What does CSS stand for?
Cascading Style Sheets
What is the purpose of hyperlinks in web design?
To allow users to navigate between different web pages
True or False: Hyperlinks can only be text-based.
False
What property in CSS is used to change the color of a hyperlink?
color
Fill in the blank: Hyperlinks are created using the <________> tag in HTML.
a
What is the default color of an unvisited hyperlink in CSS?
blue
What property in CSS is used to remove the underline from a hyperlink?
text-decoration
What does the CSS property ‘text-decoration: none;’ do to a hyperlink?
Removes the underline
What is the purpose of the ‘hover’ pseudo-class in CSS for hyperlinks?
To change the style of a hyperlink when the mouse hovers over it
Fill in the blank: The CSS property ‘text-decoration: ______;’ can be used to underline a hyperlink.
underline
What is the purpose of the ‘visited’ pseudo-class in CSS for hyperlinks?
To style hyperlinks that have been visited by the user
What CSS property is used to change the style of a hyperlink when it is being clicked?
active
True or False: Hyperlinks can only link to other web pages.
False
What attribute in HTML is used to specify the URL of a hyperlink?
href
What is the purpose of the ‘target’ attribute in a hyperlink?
To specify where the linked document should be opened