Basics of Web Design: Html5 & Css3
Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 7, Problem 1RQ
Program Description Answer

In CSS pseudo-classes, applying a default state for a hyperlink which has been visited or clicked using “:visited”.

Hence, the correct answer is option “D”.

Expert Solution & Answer
Check Mark

Explanation of Solution

CSS pseudo-classes:

  • In a website, when a user found that the hyperlinks color has been altered during the action made by moving the mouse pointer on them, can be done using a “CSS pseudo-class”.
  • CSS pseudo-class can be used to apply a special effect to a selector. One of the pseudo-classes that can be used to apply a default state for a hyperlink, which has been visited or clicked is “:visited” pseudo-class.

Explanation for incorrect options:

“:hover”

This pseudo-class can be used to trigger a selector when a hyperlink has keyboard attention.

Hence, the option “A” is wrong.

“:link”

In CSS pseudo-classes, applying a default state for a hyperlink, which has been visited or clicked using “:link”.

Hence, the option “B” is wrong.

“:onclick”

It is an event attribute and it has been triggered when a mouse click event has been occurred.

Hence, the option “C” is wrong.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Hands-On Project 1-3In this project, you will explore how to write text to a specific element in your web page in response to theonclick event handler. To complete the exercise, you will apply the following JavaScript expression:document.getElementById('id').innerHTML = 'text';where id is the value of the id attribute for the page element and text is the text of the content to be writteninto the element. You will use this expression to enhance a web form by displaying the message “Thank you foryour order” when the user clicks the Submit button. Figure 1-25 shows the completed web page.Do the following:1. Use your code editor to open project01-03_txt.html from the HandsOnProject_01 folder. Enter your name and the date in the comment section of the document and save it as project01-03.html.2. Scroll down to the bottom of the file and locate the input element for the Submit button.3. Add an onclick event handler to the <input> tag that changes the innerHTML value of the page element…
A name is entered into a text box on a simple HTML form. When “submit” is clicked, the URL looks like this: http://www.somewebsite.com/form.php?name=John     What type of submission method did the form use? Would it be GET Method or POST Method?
Semantic Distance is the distance between what people want to do and the meaning of an interface element. Select one: O True O False
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education