wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML - ICT

Total questions: 173

Worksheet time: 3hrs 53mins

Name
Class
Date
1.
What is the correct way to define a hyperlink in HTML?
a)
<link>link_text</link>
b)
<a href="link_url">link_text</a>
c)
<url>link_text</url>
d)
<hyperlink>link_text</hyperlink>
2.
Which HTML tag is used to define a paragraph?
a)
<p>
b)
<br>
c)
<div>
d)
<span>
3.
Which HTML attribute is used to specify the alternate text for an image?
a)
alt
b)
title
c)
src
d)
href
4.
Which HTML tag is used to define a table?
a)
<table>
b)
<div>
c)
<tr>
d)
<td>
5.
Which HTML tag is used to define a header for a web page?
a)
<header>
b)
<title>
c)
<head>
d)
<h1>
6.
Which HTML tag is used to define an unordered list?
a)
<ul>
b)
<li>
c)
<ol>
d)
<dl>
7.
Which HTML tag is used to define a line break?
a)
<br>
b)
<hr>
c)
<newline>
d)
<lb>
8.
Which HTML attribute is used to specify the background color of an element?
a)
bgcolor
b)
background
c)
color
d)
style
9.
Which HTML tag is used to define a form for user input?
a)
<input>
b)
<form>
c)
<submit>
d)
<button>
10.
Which HTML tag is used to define a hyperlink to an email address?
a)
<a href="mailto:email_address">
b)
<a href="http://email_address.com">
c)
<a href="email_address">
d)
<a href="email:email_address">
11.
What is the difference between the "id" and "class" attributes in HTML?
a)
"id" is used to uniquely identify an element on the page, while "class" is used to group elements together based on a shared characteristic.
b)
"id" is used to group elements together based on a shared characteristic, while "class" is used to uniquely identify an element on the page.
c)
"id" and "class" are interchangeable attributes that can be used to either group elements together or identify them uniquely.
d)
"id" and "class" are both deprecated HTML attributes and should not be used in modern web development.
12.
What is the purpose of the <meta> tag in HTML?
a)
To define the content and keywords of a web page for search engine optimization.
b)
To specify the character encoding used in the web page.
c)
To provide a description of the web page for use by social media sites when sharing links.
d)
To link to an external stylesheet for defining the presentation of the web page.
13.
How can you make an image a clickable link in HTML?
a)
Use the <img> tag with a "href" attribute.
b)
Use the <a> tag with an "img" attribute.
c)
Use the <a> tag with an "href" attribute and wrap the <img> tag inside it.
d)
Use the <link> tag with an "img" attribute.
14.
What is the purpose of the <figure> and <figcaption> tags in HTML?
a)
To define a table of contents for a web page.
b)
To create a caption for an image or video.
c)
To create a navigation menu for a web page.
d)
To specify the font size and style of a block of text.
15.
What is the difference between the <div> and <span> tags in HTML?
a)
<div> is used for block-level elements, while <span> is used for inline elements.
b)
<div> is used for inline elements, while <span> is used for block-level elements.
c)
<div> and <span> are interchangeable and can be used for any type of element.
d)
<div> and <span> are deprecated HTML tags and should not be used in modern web development.
16.
What is the purpose of the "data-" attribute in HTML?
a)
To provide a reference to an external stylesheet for defining the presentation of the web page.
b)
To specify a unique identifier for an element on the page.
c)
To store custom data attributes that can be accessed by JavaScript.
d)
To create a link to an external web page.
17.
How can you create a horizontal navigation menu in HTML?
a)
Use a <ul> list and style it with CSS to display the items horizontally.
b)
Use a <table> element with a single row and multiple cells for each menu item.
c)
Use the <nav> tag and style it with CSS to display the items horizontally.
d)
Use a series of <div> elements and float them to the left to display the items horizontally.
18.
What is the purpose of the "alt" attribute in the <img> tag in HTML?
a)
To provide a description of the image for visually impaired users.
b)
To specify the size of the image on the page.
c)
To provide a caption for the image.
d)
To define the location of the image file on the server.
19.
What is the difference between the <button> and <input> tags in HTML?
a)
<button> is used to create clickable buttons on a web page, while <input> is used to create input fields for forms.
b)
<input> is used to create clickable buttons on a web page, while <button> is used to create input fields for forms.
c)
<button> and <input> are interchangeable and can be used for either buttons or input fields.
d)
<button> and <input> are deprecated HTML tags and should not be used in modern web development.
20.
How can you embed a video on a web page using HTML?
a)
Use the <img> tag with a "src" attribute pointing to the video file.
b)
Use the <video> tag with a "src" attribute pointing to the video file.
c)
Use the <object> tag with a "data" attribute pointing to the video file.
d)
Use the <embed> tag with a "src" attribute pointing to the video file.
21.
What is the purpose of the <optgroup> tag in HTML?
a)
To group related options together in a dropdown list.
b)
To specify a list of options for a dropdown list.
c)
To create a checkbox or radio button input field.
d)
To create a text input field for a form.
22.
How can you create a table in HTML?
a)
Use the <div> tag with the "table" attribute.
b)
Use the <table> tag with the "row" and "cell" attributes.
c)
Use the <table> tag with the <tr> and <td> tags for rows and cells, respectively.
d)
Use the <form> tag with the "table" attribute.
23.
What is the purpose of the <aside> tag in HTML?
a)
To define a section of content that is tangentially related to the main content on a page.
b)
To define a section of content that is unrelated to the main content on a page.
c)
To define a section of content that is critical to the main content on a page.
d)
To define a section of content that is supplementary to the main content on a page.
24.
How can you add a hyperlink to an email address in HTML?
a)
Use the <a> tag with a "mailto" attribute containing the email address.
b)
Use the <email> tag with a "href" attribute containing the email address.
c)
Use the <a> tag with an "href" attribute containing the email address.
d)
Use the <email> tag with a "mailto" attribute containing the email address.
25.
What is the purpose of the <datalist> tag in HTML?
a)
To specify a list of options for a dropdown list.
b)
To create a checkbox or radio button input field.
c)
To create a text input field for a form.
d)
To provide a pre-defined list of options for a text input field.
26.
How can you create a numbered list in HTML?
a)
Use the <ol> tag with a series of <li> tags for each item in the list.
b)
Use the <ul> tag with a series of <li> tags for each item in the list.
c)
Use the <li> tag with a "number" attribute for each item in the list.
d)
Use the <ol> tag with a "numbered" attribute for each item in the list.
27.

What is the use of the <meta> tag in HTML?

4 lines
28.

What is the purpose of the <!DOCTYPE> declaration in HTML?

4 lines
29.

How do you create a hyperlink in HTML?

4 lines
30.

What is the role of the <head> section in an HTML document?

4 lines
31.

The acronym HTML stands for Hypertext (a)   Language.

32.

HTML documents are created using (a)   .

33.

The opening tag of an HTML element is enclosed in (a)   .

34.

The <ul> tag is used to create an (a)   list in HTML.

35.

The <strong> tag is used to make text (a)   in HTML.

36.

The <textarea> tag is used to create a (a)   box in HTML.

37.

The <select> tag is used to create a (a)   list in HTML.

38.

The <ol> tag is used to create an (a)   list in HTML.

39.

The <hr> tag is used to insert a (a)   in HTML.

40.

Full form of W3C?

(a)  

41.

What is the correct HTML tag for inserting an image on a webpage?

a)

<picture>

b)

<image>

c)

<photo>

d)

<img>

42.

Which HTML tag is used to define a table?

a)

<table>

b)

<tr>

c)

<td>

d)

<th>

43.

What is the correct HTML tag for defining a section of content?

a)

<div>

b)

<content>

c)

<section>

d)

<container>

44.

How many tags are in a regular element?

a)

2

b)

1

c)

3

d)

4

45.

What is the correct HTML tag for creating a hyperlink?

a)

<link>

b)

<a>

c)

<href>

d)

<hyperlink>

46.

What is the purpose of the <head> tag in HTML?

a)

To define the main content of the webpage

b)

To define a section of content

c)

To define the header of the webpage

d)

To define a hyperlink

47.

<p> is the opening tag for a _____________

a)

page

b)

paragraph

c)

preorder

d)

period

48.

What is the correct HTML for creating a hyperlink?

a)

<a href="https://www.google.com/">Google</a>

b)

<a> href="https://www.google.com/"Google</a>

c)

<a href="https://www.google.com/"></a>

49.

What is the correct HTML element for inserting a line break?

a)

<br>

b)

<break>

c)

<lb>

50.

Which of the following is NOT a valid type attribute for the <input> tag?

a)

checkbox

b)

select

c)

date

d)

password

51.

Which HTML element defines the title of a document?

a)

<meta>

b)

<title>

c)

<head>

52.

What is the correct HTML tag for defining a form input field for user input?

a)

<input>

b)

<form-input>

c)

<user-input>

d)

<form>

53.

What is the correct HTML tag for inserting a video on a webpage?

a)

<video/>

b)

<vid>

c)

<video>

d)

<play>

54.

What is the purpose of the <nav> tag in HTML5?

a)

To define a navigation menu or links for a webpage.

b)

To define a table of contents.

c)

To define a navigation bar for a website.

d)

To define a navigation bar for a mobile app.

55.

Which of the following is not a valid HTML5 semantic element?

a)

<section>

b)

<nav>

c)

<div>

d)

<aside>

56.

Which of the following is the correct way to define a checkbox input element in HTML?

a)

<checkbox name="myCheckbox">

b)

<input name="myCheckbox" type="box">

c)

<input type="check" name="myCheckbox">

d)

<input type="checkbox" name="myCheckbox">

57.

What is the correct HTML tag for embedding an audio file that is compatible with all modern browsers?

a)

<sound>

b)

<audio>

c)

<music>

d)

<play>

58.

Which HTML tag is used to create an unordered list?

a)

<ul>

b)

<ol>

c)

<li>

d)

<list>

59.

Which of the following is not a valid type for the <input> element in HTML5?

a)

color

b)

day

c)

week

d)

time

60.

What is the correct HTML tag for creating a definition list?

a)

<list>

b)

<dl>

c)

<dt>

d)

<dd>

61.

What is the correct HTML tag for defining a header section in a webpage

a)

<header>

b)

<head>

c)

<h1>

d)

<h2>

62.

Which of the following is NOT a valid attribute for the <a> tag in HTML?

a)

href

b)

target

c)

source

d)

title

63.

How can you create a hyperlink that opens an email client with a pre-filled email address?

a)

<a href="mailto:">

b)

<a href="mailto:" target="_blank">

c)

<a href="mailto:">Email me</a>

d)

<a href="mailto:">Email me</a> target="_blank"

64.

What is the correct HTML tag for creating a numbered list?

a)

<ol>

b)

<ul>

c)

<list>

d)

<li>

65.

Which attribute is used to specify the alternative text for an image?

a)

alt

b)

src

c)

title

d)

caption

66.

How do you create an ordered list with lowercase Roman numerals?

a)

<ol type="i-lower">

b)

<ol type="i">

c)

<ol type="I">

d)

<ol type="a">

67.

How do you create a horizontal rule in HTML?

a)

<line>

b)

<hrule>

c)

<break>

d)

<hr>

68.

What does the placeholder attribute do in an input element?

a)

Adds a tooltip to the input field

b)

Specifies the initial value of the input field

c)

Changes the color of the input text

d)

Provides a hint or example value before user input

69.

How do you create a comment in HTML?

a)

<!-- This is a comment -->

b)

// This is a comment

c)

/* This is a comment */

d)

<!-- Comment -->

70.

Which tag is used to group related form elements together?

a)

<group>

b)

<fieldset>

c)

<form-group>

d)

<div>

71.

How do you create a hyperlink that opens in a new browser window or tab?

a)

<a href="url" target="_self">

b)

<a href="url" target="_blank">

c)

<a href="url" target="_parent">

d)

<a href="url" target="_top">

72.

What does the target="_self" attribute value do in a hyperlink?

a)

Opens the linked document in a new tab or window

b)

Opens the linked document in the same tab or window

c)

Specifies the target device for the link

d)

Disables the link functionality

73.

What is the correct way to add a horizontal space in HTML?

a)

<space>

b)

<hr>

c)

<br>

d)

&nbsp;

74.

A hardware component of a computer, and it permanently stores data on storage media.

a)

Input

b)

Storage Device

c)

Software

d)

Hardware

75.

EDP has this many steps:

a)

3

b)

4

c)

5

d)

6

76.

A set of integrated devices that input, output, process, and store data and information.

a)

Computer

b)

Computer System

c)

Hardware

d)

Software

77.

A software that allows the computer to share information and communicate with each other.

a)

Application Software

b)

Operating System

c)

Utility Software

d)

Connectivity Software

78.

An accurate and rapid method of data processing, Also frequently used term for automatic information processing.

a)

EDP

b)

USB

c)

ADP

d)

UPS

79.

An English mathematician who conceives of a steam-driven calculating machine that would be able to compute tables of numbers.

a)

Herman Hollerith

b)

Charles Babbage

c)

Joseph Marie Jacquard

d)

Clifford Berry

80.

Another term for Sholes keyboard.

a)

Keyboard

b)

QWERTY

c)

Touch keyboard

d)

KwertBoard

81.

Facts, concerning a particular event or subject, which are refined by processing.

a)

Computer

b)

Data

c)

Information

d)

Procedures

82.

Google releases the Chromebook, a laptop that runs what type of OS.

a)

Google Chrome OS

b)

Windows 7

c)

Windows 8

d)

Google

83.

In what year does Facebook launched?

a)

2003

b)

200

c)

2005

d)

2006

84.

It becomes part of the computing language and users begin connecting to the Internet without wires.

a)

Bluetooth

b)

Hotspot

c)

Wi-Fi

d)

Infrared

85.

It includes different arithmetic and logical operations, so to process data means to do the classifying, sorting, summarizing, comparing and other manipulation techniques that convert data into information.

a)

Input

b)

Processing

c)

Output

d)

Data

86.

It is a machine that can save, retrieve and manipulate data according to instructions.

a)

Computer

b)

Data

c)

Information

d)

Procedures

87.

It is a system software that helps maintain and protect the computer system.

a)

Application Software

b)

Operating System

c)

Utility Software

d)

Language Processors

88.

It is use to translate and display the result of the data processing. Example: Monitor Screen, Printer, etc.

a)

Output Hardware

b)

Input Hardware

c)

Secondary Storage

d)

Memory Hardware

89.

It is used for uttering forceful feeling and also use for coding language purposes.

a)

Tilde

b)

Accent Grave

c)

Exclamatory point

d)

Hash Tag

90.

It is where the computer system stores data permanently.

a)

Processing and Memory Hardware

b)

Secondary Storage

c)

Input Hardware

d)

Output Hardware

91.

It refers to all the activities associated with recording data and making it available for processing.

a)

Input

b)

Processing

c)

Data

d)

Information

92.

Microsoft launched this OS in 2009, which offers the ability to pin applications to the taskbar and advances in touch and handwriting recognition, among other features.

a)

Windows Vista

b)

Windows 7

c)

Windows 8

d)

Windows 10

93.

Part of mouse that you will use most often.

a)

Primary button

b)

Secondary button

c)

Scroll wheel

d)

USB connector

94.

Software that interprets computer language and translates it into machine language. It also checks for errors in language syntax and fixes the problems.

a)

Application Software

b)

Operating System

c)

Utility Software

d)

Language Processors

95.

The area that contains the processed data and the instructions that must be followed during the data processing.

a)

Storage

b)

Output

c)

Input

d)

Processing

96.

The collection and conversion of a set of information to a meaningful outcome.

a)

Computer

b)

Data Processing

c)

Information

d)

Procedures

97.

The first computer systems used vacuum tubes for circuitry and magnetic drums for memory, and were often enormous, taking up entire rooms.

a)

First Generation

b)

Second Generation

c)

Third Generation

d)

Fourth Generation

98.

The first personal computer with a GUI.

a)

Compaq

b)

MS-DOS

c)

Lisa

d)

Microsoft

99.

The term information derived from which Latin word that means to give form to.

a)

Informare

b)

Inform

c)

Informa

d)

Informs

100.

The year when Steve Jobs and Steve Wozniak start Apple Computers on April Fool’s Day and roll out the Apple I, the first computer with a single-circuit board, according to Stanford University.

a)

1977

b)

1978

c)

1976

d)

1975

101.

These are a set of instructions, written in code, to instruct a computer on how to perform a task, run a software, do calculations etc.

a)

Hardware

b)

Software

c)

Peopleware

d)

Procedures

102.

What is he browser that challenges Internet Explorer in the year 2004?

a)

Google chrome

b)

Mozilla Firefox

c)

Microsoft Edge

d)

Opera Mini

103.

This type of memory is volatile or impermanent, that is, all its contents disappear when there is no power:

a)

Flash memory

b)

RAM

c)

ROM

d)

HDD

104.

This prefix means “multiplied by a billion” or “x 1,000,000,000”.

a)

Giga

b)

Kilo

c)

Mega

d)

Tera

105.

The basic unit of memory is a _____.

a)

bit

b)

byte

c)

Kilobyte

d)

Megabyte

106.

Traditionally, these computers are generally large and powerful computers used by large corporations such as banks to keep track of ATM transactions.

a)

Mainframes

b)

Minicomputers

c)

Servers

d)

Supercomputers

107.

This type of RAM modules are used inside laptops, where space is at a premium.

a)

DIMM

b)

SIMM

c)

SODIMM

d)

DDR

108.

This type of data storage device uses magnetic media to store data.

a)

DVD Drives

b)

Flash Drives

c)

Hard Disk Drives

d)

Solid State Drive

109.

These are operating systems except____

a)

MS Office

b)

Puppy Linux

c)

Ubuntu

d)

Windows 10

110.

This is a free, open-source alternative to Adobe PhotoShop.

a)

GIMP

b)

OpenOffice.org

c)

Publisher

d)

One Note

111.

These are free, open-source alternatives to MS Word, except ____

a)

AbiWord

b)

Apache OpenOffice Writer

c)

LibreOffice.org Writer

d)

Adobe Reader

112.

These are software utilities designed to block unauthorized access while permitting outward communication.

a)

Anti-virus software

b)

Firewalls

c)

Media players

d)

Browser

113.

This is a rectangular area on the Desktop used to display information.

a)

Icon

b)

Window

c)

Windows 10

d)

Wallpaper

114.

This is a copy of the contents of memory that is saved to the storage device like a hard disk or flash drive.

a)

File

b)

Icon

c)

Window

d)

Wallpaper

115.

This is located at the right side of the Task Bar and contains the icons of programs running in the background.

a)

Clock

b)

Folder

c)

Windows Notification Area

d)

Task View

116.

This appears on the left side of an open window and shows the file system locations in the computer.

a)

Navigation Pane

b)

Scroll Bars

c)

System Tray

d)

Ribbon

117.

This usually appears at the bottom of the Windows Desktop and contains the icons of all running processes including open windows and programs running in the foreground.

a)

Navigation Pane

b)

Scroll Bars

c)

System Tray

d)

Task Bar

118.

If an open window contains too many items to display all at once, this enables you to view the items that are currently off-screen.

a)

Navigation Pane

b)

Scroll Bars

c)

System Tray

d)

Ribbon

119.

This key combination activates an inactive window by cycling through inactive windows every press.

a)

ALT-F4

b)

ALT-TAB

c)

CTRL-A

d)

CTRL-V

120.

These games are available for free in the Microsoft Store

a)

Imperia Online

b)

Mahjong

c)

MineCraft

d)

Solitaire

121.

This is an example of a virtual private network (VPN) client.

a)

Psiphon3

b)

QBitTorrent

c)

ThePiratebay.org

d)

uTorrent

122.

This is a free and open source alternative to the Windows 10 operating system.

a)

GIMP

b)

OpenOffice.org

c)

Ubuntu Linux

d)

macOS

123.

A set of programs (computer instructions), which helps the user to do a set of specific tasks. It helps the user interact with the computer system.

a)

Hardware

b)

Software

c)

Peopleware

d)

Procedures

124.

To assign a name for a fieldset, use

a)

caption

b)

name

c)

legend

d)

title

125.

The action attribute of a form

a)

tells how the information should be sent to the server.

b)

tells what web page or script will process the form.

c)

lets the user select from a set of options

d)

is a button command that processes the form

126.

The method attribute of a form

a)

tells which web page or script should process the form

b)

lets a user select from a set of options

c)

tells how the form data should be sent to the server

d)

verifies whether an email address is valid

127.

The problem with the Get method

a)

form data is not encrypted

b)

form data appears in the URL

c)

it is not reliable

d)

only part of the data is sent to the server

128.

When retrieving information, the ___ method will work.

a)

search

b)

put

c)

get

d)

post

129.

To add new or change data on a server the ___ method works best.

a)

post

b)

get

c)

put

d)

update

130.

The old Put method in forms

a)

would delete data in a database

b)

would insert new data into a database

c)

would get data from a database

d)

was dangerous when using private information

131.

When the hidden attribute is set in an input field

a)

users cannot see the field, but its data will be sent to a server.

b)

users cannot see the field, and its data will not be sent to a server.

c)

users can see the field, but its data will not be sent to a server.

d)

users can see the field, but the data shown in it cannot be changed.

132.

The select field in a form

a)

is used inside an input element.

b)

provides users with a set of options to choose from.

c)

auto-completes as the user types data.

d)

cannot have a default option setting.

133.

In a form, <input type="text" ...>

a)

cannot be set to "required"

b)

is not valid

c)

will accept multiple lines of characters.

d)

will accept only a single line of characters.

134.

To help users know what to put in field, use

a)

<input name="firstname">

b)

<label for="firstname">

<input type="text" id="firstname>

c)

<input type="text" id="firstname" name="label">

d)

<input label="First Name" type="text">

135.

An Email address field in a form

a)

<input type="email" id="email">

b)

<input type="text" id="email">

c)

<label for="email">

<email type="text" id="email">

d)

<input text="email" id="email">

136.

A comment field for multiple lines of text

a)

<label for="comments">

<comments type="textarea" id="comments">

b)

<label for="textarea">

<input type="textarea" id="textarea">

c)

<input type="textarea" rows="6" cols="50">

d)

<textarea rows="6" cols="50"></textarea>

137.

A button tag

a)

<input type="button" value="Name on Button"></input>

b)

<input type="button">Name on Button</input>

c)

<button name="abc" onclick="">

d)

<button name="abc" onclick="">Name on Button</button>

138.

To make a datalist work, you need a(n)

a)

input tag with "list" attribute the same as the "id" in the datalist

b)

input tag with "list" attribute the same as the "name" in the datalist

c)

select tag with "option" attribute the same as the "name" in the datalist

d)

option tag with "select" attribute the same as the "id" in the datalist

139.

To group sections of a form to make it easier to read, use

a)

fieldset

b)

group

c)

groupset

d)

formset

140.

To submit a form for processing, use

a)

<input type="button" method="submit">

b)

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

c)

<input type="submit">Submit</input>

d)

<input type="submit" value="Submit">

141.

Which code below is correct for a hyperlink

a)

<a>

"https://google.com"

Click Me

</a>

b)

<a>Click Me>

"https://google.com"

</a>

c)

<a herf="https://google.com">

Click Me

</a>

d)

<a href="https://google.com">

Click Me

</a>

142.

Which of the following contains a nested list

a)

<ul>

<li>Apples</li>

<li>Cookies</li>

<li>Milk</li>

</ul>

b)

<ul>

<li>Apples</li>

<li>

Cookies

<ul>

<li>Chocolate Chip</li>

<li>Peanut Butter</li>

</ul>

</li>

<li>Milk</li>

</ul>

143.

Which of the following is the code for a paragraph to be blue?

a)

<td style=“background-color:blue;”>

b)

<h1 style=“font-size:60px;”>

c)

<p style=“color:blue;”>

d)

<tagname style=“property:value;”>

144.

What is the font size in this code: <p style=“color:blue; background-color:yellow;

font-size:60px”>Hello</p>

a)

20pixles

b)

40pixels

c)

50pixels

d)

60pixels

145.

Which list tag would you use for an ordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

146.

Is this a correct table?


<table>

<tr><td>This is part 1</td></tr>

<tr>This is part 2</tr>

</table>

a)

Yes

b)

No

147.

Is this a correct table?


<table>

<tr><td>This is part 1</td>

<tr><td>This is part 2</td></tr>

</table>

a)

Yes

b)

No

148.

Is this a correct table?


<table>

<tr><td>This is part 1</td></tr>

<tr><td>This is part 2</td></tr>

</table>

a)

Yes

b)

No

149.

How many rows does the following table have?


<table>

<tr><td>Col 1</td></tr>

<tr><td>Col 2</td><td>Col3</td></tr>

<tr><td>Col 3</td></tr>

</table>

a)

3

b)

2

c)

1

d)

0

150.

How many rows and columns does the following table have?


<table>

<tr><td>Col 1</td><td>Col 4</td></tr>

<tr><td>Col 2</td><td>Col 5</td></tr>

<tr><td>Col 3</td><td>Col 6</td></tr>

</table>

a)

2 rows with 3 column each

b)

3 rows with 2 column each

c)

3 rows and 3 columns

d)

3 rows and 5 columns

151.

A <tr> element can have 0 <td> elements inside

a)

Yes

b)

No

152.

What table element attribute do you need to specify to add a border to a table?

a)

<table border="0">

b)

<table border="on">

c)

<table border="1">

d)

<table border="yes">

153.

Which of the following defines a single table column?

a)

The <td> tag

b)

The <tr> tag

c)

The <th> tag

d)

The <tablecolumn> tag

154.

Which of the following table element tags are required when you use the <table> tag to create a table?

a)

able row <tr> and table data <td>

b)

Table caption <caption> and table data <td>

c)

Table header <th> and table data <td>

d)

Table caption <caption> and table header <th>

155.

Which of the following defines the content of table cells?

a)

The <th> tag

b)

The <td> tag

c)

The <tr> tag

d)

The <tablecell> tag

156.

An HTML Table with a Border Attribute:


Choose the correct tag.

a)

<table border="1" style="width:100%">

b)

the border-collapse property...

c)

</td>

d)

table, th, td { border: 1px solid black; border-collapse: collapse; }

157.

Attribute name specifying the number of pixels of space between a cell well and its content


The statement above refer to which tag?

a)

width

b)

table

c)

cellpadding

d)

colspan

158.

To add borders, use the CSS border property:

a)

<table border="1" style="width:100%">

b)

the border-collapse property...

c)

table, th, td { border: 1px solid black; }

d)

table, th, td { border: 1px solid black; border-collapse: collapse; }

159.

An HTML Table with Border Spacing:


Choose the correct tag.

a)

colspan=""

b)

table { border-spacing: 5px; }

c)

<table><tr><td clospan="2"> Memrise </td></tr></table>

d)

<table style="width:100%"> <caption> Memrise </caption> </table>

160.

What is the correct HTML for creating a hyperlink? (note: Where you see a big space, that is where a bracket should be.)

a)

a url="http://www.google.com" Google.com /a

b)

a url=http://www.google.com /a

c)

a href="http://www.google.com" Google /a

d)

a name="http://www.google.com" Google.com /a

161.

Use CSS to center align the document.

a)

<html>

<body ----="--------;">


<h1>This is a heading</h1>


<p>This is a paragraph.</p>


</body>

</html>

b)

<html>

<body style="text-align:center;">


<h1>This is a heading</h1>


<p>This is a paragraph.</p>


</body>

</html>

162.

Use CSS to set the background-color of the document to yellow.

a)

<html>

<body style="------:yellow;">


<h1>This is a heading</h1>


<p>This is a paragraph.</p>


</body>

</html>

b)

<html>

<body style="background-color:yellow;">


<h1>This is a heading</h1>


<p>This is a paragraph.</p>


</body>

</html>

163.

Use CSS to set the font of the paragraph to "courier".

a)

<p style="font-family:courier;">This is a paragraph.</p>

b)

<p style="------:courier;">This is a paragraph.</p>

164.

What does the HTML Horizontal Rule do?

a)

A paragraph always starts on a new line

b)

The <hr> tag defines a thematic break in an HTML page, and is most often displayed as a horizontal rule

c)

It defines preformatted text

165.

What is the correct syntax to change the background color with css?

a)

background-color: purple;

b)

background-color = "purple";

c)

backgroundcolor=orange

d)

change-background-color: purple

166.

TRUE OR FALSE: All tags require a closing tag.

a)

True

b)

False

167.

Where should you put the link tag to connect your CSS and HTML file?

a)

Between the <head> </head> in HTML

b)

Between the <body> </body> in HTML

c)

None of the above.

168.

To put in a text box you use which code?

a)

<input type="information" id="name"/>

b)

<input type="text" id="name"/>

c)

<textbox id="name"/>

d)

<textbox id="name" type="text"/>

169.

To put in a checkbox for the color Red which code do you use

a)

<checkbox id="Red"/>

b)

<check id="Red"/>

c)

<input type="checkbox" id="Red" />

d)

<input type="check" id="Red" />

170.

Which is the code to start putting in a drop down box?

a)

<select id="choices">

b)

<selection id="choices">

c)

<dropdown id="choices">

d)

<drop id="choices">

171.

To put in 2 multiple choice/ radio buttons you use which code?

a)

<input type="mc" name="choice" id="yes" />Yes

<input type="mc" name="choice" id="no" />No

b)

<input type="mc" name="choice" id="choice" />Yes

<input type="mc" name="choice" id="choice" />No

c)

<input type="radio" name="choice" id="yes" />Yes

<input type="radio" name="choice" id="no" />No

d)

<input type="radio" name="choice" id="choice" />Yes

<input type="radio" name="choice" id="choice" />No

172.

To put in a larger comment box you would use which tag?

a)

<input type="comment" id="comments"/>

b)

<input type="textarea" id="comments"/>

c)

<textarea id="comments"></textarea>

d)

<textarea id="comments" />

173.

The code for a Reset button is

a)

<button type="reset">Reset</button>

b)

<button type="submit">Reset</button>

c)

<input type="reset">Reset</input>

d)

<reset>Reset</reset>