Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HTML task Exercise 3-3 In addition to hover pseudo-class, there are pseudo classes like focus, link and visited. For pseudo classes and elements refer to

HTML task

image text in transcribedimage text in transcribed

Exercise 3-3 In addition to hover pseudo-class, there are pseudo classes like focus, link and visited. For pseudo classes and elements refer to w3sc CS5 classes. In this exercise we will work on focus pseudo class. The syntax for writing pseudo class focus is the same as writing hover pseudo class. Once again we use : (colon) rather than. (period). For example to write focus rules for input tag we write inputfocus f rules., just like input:hover frules.... for hover Write CSS rules to generate a form such as the one below. When the following text boxes and buttons are focused, their background color will change to yellow; when they are hovered, their background color will change to cyan Last Name First Name: E-mail Address SubmitClear The figure shows below indicates last name text field was hovered. The background color changed to cyan and box size enlarged as well Last Name First Name: E-mail Address SubmitClear The following screen shot displayed as when last name field was focused (clicked by user). The background color changed to yellow. The box still enlarged. Last Name First Name: E-mail Address SubmitClear

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

Students also viewed these Databases questions