WorksheetsForms in HTML
Total questions: 21
Worksheet time: 11mins
Which HTML attribute would be used to span a table cell over more than one row?
span
row
colspan
rowspan
Which HTML code will display a radio button?
<radio>
<input type="radiobutton">
<radiobutton>
<input type="radio">
Which HTML element defines an article?
<document>
<content>
<section>
<article>
Which input type allows multiple options to be selected?
textbox
textarea
checkbox
radio
Which element defines a caption for a table, and where should it be placed?
<thead>, placed after the <table> tag
<thead>, placed right before the <table> tag
<caption>, placed after the <table> tag
<caption>, placed before the <table> tag
Which attribute is used to specify that an input field must be filled out?
placeholder
validate
required
formvalidate
Which elements are used to draw a border with a caption around some content?
<border> and <caption>
<fieldset> and <legend>
<fieldset> and <caption>
<border> and <legend>
Which input type defines a month and year control?
date
year
month
What does the action attribute in the <form> element define?
Where to send the form data when submitted
The HTTP method for sending the form data
The mime type used to encode the content.
Where to open the target URL
To create a password field on a form, which code below would define a password field?
<text type="password">
<input type="password">
<password>
Which defines a text-area?
<input type="multiline">
<input type="textarea">
<textarea>
<textfield>
Which elements are used to create a drop-down list?
<input type="select"> and <option>
<input type="dropdown"> and <li>
<ol> and <li>
<select> and <option>
Which of the following defines a text field?
<text type="input">
<input type="input">
<input type="text">
<textfield>
To span text in a table cell over more than one column, which HTML attribute would you use?
col
row
span
colspan
Which elements define a table, a table row, and a standard table cell?
<table>, <tr>, <th>
<table>, <tr>, <tc>
<table>, <tr>, <td>
Which input type defines a field that should contain an e-mail address?
mailto
Which defines a checkbox?
<input type="check">
<check>
<checkbox>
<input type="checkbox">
Which input type defines a slider control?
controls
search
range
slider
Which attribute defines the way to send form data to the action URL?
formnovalidate
formmethod
formdata
The only way to nest one form into another form is to use the <iframe> element?
True
False
Can a table be nested inside another table?
Yes
No
