Which input control should you use?

You develop a webpage with a standard input control by using HTML5.
The input control must display the text Enter your given name, as shown below:

When a user selects the input control, the text must disappear.
You need to create the input control.
Which input control should you use?

You develop a webpage with a standard input control by using HTML5.
The input control must display the text Enter your given name, as shown below:

When a user selects the input control, the text must disappear.
You need to create the input control.
Which input control should you use?

A.
<input name=”GivenName” value=” Enter your given name” />

B.
<input name =”GivenName” default=” Enter your given name” />

C.
<input name=”GivenName” text=” Enter your given name” />

D.
<input name=”GivenName” placeholder=” Enter your given name” />



Leave a Reply 1

Your email address will not be published. Required fields are marked *


get_it

get_it

A. will show an input box with Enter your given name not greyed out.