QUIZ 1 - HTML & Javascript

QUIZ 1 - HTML & Javascript

University

30 Qs

quiz-placeholder

Similar activities

HTML5

HTML5

12th Grade - Professional Development

26 Qs

Theory CSC301 - Chapter 2 & 3

Theory CSC301 - Chapter 2 & 3

University

30 Qs

Java basic

Java basic

University

25 Qs

P03PBWEB-HTML dan CSS

P03PBWEB-HTML dan CSS

University

25 Qs

UTS Dasar Pemrograman

UTS Dasar Pemrograman

University

25 Qs

CSS

CSS

9th Grade - University

25 Qs

GNIDOC ROUND 1

GNIDOC ROUND 1

University

25 Qs

More on JavaScript 2

More on JavaScript 2

University

25 Qs

QUIZ 1 - HTML & Javascript

QUIZ 1 - HTML & Javascript

Assessment

Quiz

Computers

University

Medium

Created by

ser firdaus

Used 30+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which is used to create a submission button?

<button type="submit">Submit Here</button>

There is no way to make a submission button.

<input type="submit">

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
Consider the following code for a text box in a Web form:
<input type="text" name="UserName"/>
Which modified tag should you use if you want the text box to appear with default text that reads "Enter Name Here"?
<input type="text" name="UserName" value="Enter Name Here"/>
<input type="name" text="Enter Name Here" value="text"/>
<input type="area" value="default" text="UserName"/>
<input type="text" name="UserName" default="Enter Name Here"/>

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
Which line of HTML code creates a scrolling text box that can display three rows of text that are each 30 characters long?
<input type="textarea" name="comments" width="30" rows="3"/>
<input type="text" name="comments" chars="30" rows="3"/>
<text name="comments" width="30" rows="3">
<textarea name="comments" cols="30" rows="3">

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
In the Web form you are creating, you want a multiple-option select list to appear with five options. Which line of HTML code will help accomplish this?
<input type="select" name="work" multiple="yes" default="5"/>
<select name="work" multiple="multiple" size="5">
<select name="work" size="5">
<input type="multiselect" name="work" default="5"/>

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
In an HTML form, what is the purpose of the name attribute in an <input> tag?
It identifies the form input received in a name=value pair by the site's administrator.
It is required for the form to render in all browsers.
It labels the form field so the user knows the type of input expected.
It identifies the type of field or button that will appear in the form.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<input type="checkbox"> is used
for selecting zero or more of many choices
for selecting one of many choices
for submitting the form
for selecting all of the choices

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ___________ element is used to group related data in a form.
<option>
<fieldset>
<input type>
<form>

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?