Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
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
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
HTML and CSS!
Exercise:
Create a web page that displays a hyperlink for each subject in your current semester. When the user clicks on a link, he should open the respective topic page.Note: Subject pages can be empty. Use CSS pseudo-classes on hyperlinks.
The CreateConsoleScreenBuffer method should be described in detail.
Semantic Distance is the distance between
what people want to do and the meaning of
an interface element.
Select one:
O True
O False
Chapter 7 Solutions
Basics of Web Design: Html5 & Css3
Knowledge Booster
Similar questions
- 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?arrow_forwardDon't Copy and paste answer from other websites CHAT Application Note: You must use Java FX GUIs!!!! DO NOT use SWING GUIs. Build a CHAT program, similar to a text-messaging app, to send text messages back and forth. That is you will build 2 programs, a client(ChatClient.java) and a server(ChatServer.java). If you enter a String on the Server and send it to the Client, the Client will display the Message it received. You will need to build a Java FX Gui for this project….you will also need to use Sockets to send the text across the network…..and I would also use Threads…..the new Thread you make will wait for data to come in and display it in the GUI TextArea. The GUI: Both the server program and the Client Program will have the exact same GUI. The both will have a TextArea at the top(To display incoming messages), a TextField at the bottom(for sending messages), and also a Send Button(event to send the data from the Textfield down the network). When the user types in some text in the…arrow_forwardA web page developed using jQuery includes riddles and their solutions, paragraph elements of the “solution” class that are hidden when the page loads. You want to display the solutions when the user clicks on the “reveal” image element. The following code to display them is correctly written.$("img#reveal").click ( () => { $("p.solution").hide();}) Select one: True Falsearrow_forward
- Go to the project06-01.js file in your code editor. Below the comment section declare the following variables: submitButton referencing the element with the id “submitButton", pwd referencing the element with the id "pwd", and pwd2 referencing the element with the id “pwd2". Create an event listener for the click event occurring with the submitButton that runs an anonymous function.arrow_forwardJavaScript function that serves as a constructor for the Car class. The Car class is to contain the following: Properties: Brand, Model, Year, OdometerMethods: Drive Create a web page with three textboxes and two buttons. The textboxes are for entering a car's brand name, model and year. Of the two buttons one is to show "Enter" and the other "Drive". When clicking the "Enter" button, a new Car object is to be instantiated. Its properties are to be set by the values entered. When clicking the "Drive" button, the Odometer property is to be incremented by 1. Whenever the value in the odometer is divisible by ten, an alert box is to be displayed.arrow_forwarda.menu {font-family : Verdana; font-weight : bold; font-size : 13px; } To use the CSS style above, which of the following should be done? "a.menu" class must be imported for a hyperlink menu. "a.menu" class must be imported for a hyperlink. "menu" class must be imported for a hyperlink. "a" class must be imported for a hyperlink.arrow_forward
- A Radio Button is a way to restrict users to having only one choice. Examples are: Male/Female, Yes/No, or answers to surveys and quizzes Write a script using HTML form elements and PHP codes that will return the value a Radio Button that has a value of "Male" and a second Radio Button has a value of “Female”. A code should be added to detect if the user clicked the Submit buttonarrow_forward20 Be default, the layout manger for JPanels is O GridLayout O FlowLayout BorderLayout PanelLayout When an object listener is registered with several components, the way we distinguis between components when the event is triggered is ? 36°C Haze ^ Q 21arrow_forwardWhat is the following code called? @{ ViewData["Title"] = "Employee Page";} 1. a Razor code block 2. An HTML code block 3. A CSS code block 4. A C# Classarrow_forward
- Select the answer that BEST matches the following statement: This function will return a node given a CSS selector. Select one: getElementById querySelectorAll getElelmentsByTagName getElementsByClassName querySelectorarrow_forwardChange the code so it loads the image from a folder named img instead of a url. .bgimg {background-position: center;background-size: cover;background-image: url("/w3images/coffeehouse.jpg");min-height: 75%;}arrow_forwardQ1. POEM Form Using the poem about the days Monday-Sunday below, create a form that will return the relevant line in response to the user's choice of day. For the form it will be good idea to have a drop down list for the days. In order to display the relevant line via PHP; submission could be done to a different php page or a self-calling page could be created. Ps. For submission via JavaScript; on change event "if(this.value != '0') this.form.submit()" could be used. Days of week Poem: Monday is the very first day. On Tuesday my friends come to play. Wednesday the week is half way through On thursday I don't feel so blue On friday I get all excited On Saturday I'm invited to parties On Sunday I need rest.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education