WorksheetsIMSD_Week-2_CSE-1
Total questions: 10
Worksheet time: 5mins
Which attribute of <table> is used to merge two or more columns?
rowspan
colspan
merge
cellspan
What will be the output of this code?
<table border="1">
<tr>
<td rowspan="2">A</td>
<td>B</td>
</tr>
<tr>
<td>C</td>
</tr>
</table>
"A" occupies two rows, "B" and "C" next to it
"A" and "B" on same line, "C" below
All three cells in one row
Error
Which tag defines a table caption?
<thead>
<caption>
<title>
<summary>
Identify the correct nesting order for table elements.
<table><tr><td></td></tr></table>
<table><td><tr></tr></td></table>
<tr><table><td></td></table></tr>
<td><tr><table></table></tr></td>
In HTML5, which element groups header content in a table?
<thead>
<header>
<th>
<tgroup>
What will be displayed by this code?
<form>
<input type="text" name="username" value="Guest" readonly>
</form>
Editable textbox with “Guest”
Non-editable textbox with “Guest”
Hidden field
Textarea
Which attribute ensures a form field must be filled before submitting?
mandatory
validate
required
mustfill
Which HTML tag is used to group related form fields?
<legend>
<group>
<section>
<fieldset>
Which tag creates a dropdown menu?
<dropdown>
<select>
<menu>
<list>
What does this code do?
<iframe src="https://www.example.com" width="400" height="200"></iframe>
Creates a link to the site
Opens site in new window
Displays example.com webpage inside current page
Displays a blank box
