Font size
WorksheetsGPF ZARA Webpage design
Total questions: 70
Worksheet time: 39mins
Which of the following allow webpage content to be viewed on the internet
Microsoft Word
Google Sheet
Chrome
explorer
Interpret this statement: <strong>Michelle</strong>
It makes Michelle strong
It highlights Michelle as being strong
It will print out Michelle in bold font
Which of the following is a valid CSS rule?
<p> {
color:pink;
}
p {
"color:pink";
}
p {
color:pink;
}
p {
color="pink";
}
What does CSS stand for?
Complicated Style Sheets
Competent Styling Solutions
Conflicting Style Sheets
Cascading Style Sheets
Which of the following is a valid class name?
2large
small text
small_text
2 large
In the following CSS rule, what is the selector?
h1 {
font-family: Arial;
}
CSS
H1
font-family
Arial
CSS rules should be between the <style></style> tags. Where should the <style></style> tags be placed?
between the <head></head> tags
between the <body></body> tags
between the <css></css> tags
anywhere on the html page
Which of the following will select all the HTML elements with a class of large and set their font size to be 36px?
large {
font-size:36px;
}
.large {
font-size:36px;
}
class="large:36px"
class large {
font-size:36px;
}
Which of the following will cause the <p> tags to have a font color of blue?
p {
font-color:blue;
}
p {
color:blue;
}
p {
color=blue;
}
p {
font:blue;
}
h2 {
font-size:12px;
}
In the above CSS rule font-size:12px is the:
selector
value
property
declaration
_______ is the language used for the structure and content of a webpage.
HTML
CSS
Javascript
Java
_______ is used to code the style for a web page.
HTML
CSS
Javascript
Java
What are shared on the Internet and are called as Web pages?
Programs
Cables
Hypertext documents
None
Which program is used by web clients to view the web pages?
Web browser
Protocol
Web Server
Search Engine
Web page editors works on a ____ principle.
WWW
HTML
WYSIWYG
WYGWYSI
Which tag is used to display text in title bar of a web document?
Body tag
Meta tag
Title tag
Comment tag
The language that instructs the browser on how to display the hypertext, and adds pictures to the document is __
C
COBAL
HTML
BASIC
TITLE tag must be within ________
Title
Form
Header
Body
Text within STRONG tag is displayed as ________
Bold
Italic
List
Indented
UL Tag is used to ________
Display the numbered list
Underline the text
Display the bulleted list
Bold the text
Which tag is used to display the numbered list?
OL
DL
UL
LI
SCRIPT tag can be placed within ________
Header
Body
Header and Body
None of the above
Using P tag will
Start a new paragraph
Break the line
End the current paragraph
None of the above
What is the default type of ‘type’ attribute of <input> element?
Special Characters
Password
Numerical
Text
Which of the following tag is used for drop down list?
<dropdown>
<text>
<select>
<textarea>
Choose the correct option.
HTML form elements can be of different types
All of these
HTML form elements are defined inside <form> tag
HTML form elements are used for taking user input
For defining a submit button which tag is used?
<action submit>
<button>
<submit button>
<submit>
In HTML form <input type="text"> is used for -
One paragraph
Block of text
None
One line of text
Which one of the following is a form element?
Test box
submit button
all of these
radio button
Correct HTML Tag for the largest heading is?
h6
heading
h1
head
All HTML tag must be enclosed in?
?And!
<And>
{And}
#And#
Which tag in HTML is used to create a checkbox>
<checkbox>
<input type ="checkbox">
<cb>
<input type =checkbox>
Which tag is used to display a picture in HTML?
Picture
Img
Src
Image
HTML tags are surrounded by which type of brackets?
Curly
Round
Square
Angle
What is the correct HTML tag for inserting a line break?
<break/>
<br>
<lb>
<nbsp>
Which of the following is a declaration for an HTML document?
<html>
<!Doctype Html>
<body>
<p>
HTML uses
Fixed tag defined by the language
User-defined tags
Pre-specified tags
Tags only for linking
Which attribute is used for activation of JavaScript?
button
checkbox
url
submit
Which attribute defines the file-select field?
file
checkbox
button
text
Which of the following is not used with password attribute?
name
size
maxlength
min
Which element is used to create multi-line text input?
text
textarea
submit
radio button
To put in a text box you use which code?
<input type="information" id="name"/>
<textbox id="name"/>
<input type="text" id="name"/>
<input type="text" id="name"/>
Multiple Choice questions in html are referred to as...
multiple choice
radio buttons
dot buttons
circle buttons
Which is the code to start putting in a drop down box?
<select id="choices">
<dropdown id="choices">
<selection id="choices">
<drop id="choices">
To put in 2 multiple choice/ radio buttons you use which code?
<input type="mc" name="choice" id="yes" />Yes
<input type="mc" name="choice" id="no" />No
<input type="radio" name="choice" id="yes" />Yes
<input type="radio" name="choice" id="no" />No
<input type="mc" name="choice" id="choice" />Yes
<input type="mc" name="choice" id="choice" />No
<input type="radio" name="choice" id="choice" />Yes
<input type="radio" name="choice" id="choice" />No
The code for a Reset button is
<button type="reset">Reset</button>
<input type="reset">Reset</input>
<button type="submit">Reset</button>
<reset>Reset</reset>
You put which tags around your javascript code?
<javascript> Code </javascript>
<script javascript> Code </javascript>
<script type="text/javascript"> Code </script>
<form> Code </form>
Checkbox buttons let users select one or more of a particular set of choices.
True
False
<input type="submit" name="submit" id="submit" /> creates a reset button.
True
False
You can import different CSS documents into other CSS documents.
True
False
<td> is what?
Defines a dorm in a table.
Defines a cell in a table.
Defines a definition in a table.
<th> is what?
Defines a header cell in a table. !
Defines a head cell in a table.
Defines a highlight in a table.
Tables contain columns, rows, and cells.
True
False
A <tr> tag can nest many <td> tags
True
False
A table must have rows and cells defined
True
False
The border attribute can't be styled with CSS.
True
False
How many <h3> tags can be on a page?
1 <h3> per <h1>
Only 3 times
Multiple
Atmost 5
<h1> tags should only be used once.
True
False
<br/> is a bridge tag.
True
False
List items can hold other unordered and ordered list.
True
False
<a href="page.html">Makes this statement a link.</a>
True
False
How do you create a drop down box on a form?
With the select tag.
With CSS
With option tags.
Don’t know
How do you create a button on a form?
With an <input type="submit"> tag.
With a link.
With a <form> tag.
Don’t know
Tags should?
Always hang open
Be correctly nested
Play the game correctly
A Title tag should be a…
long description of the page.
not worried about.
short description of the page.
<html>, <head>, <body>, and <ul> tags are required for every HTML page
True
False
There are no self-closing HTML tags.
True
False
The viewer never looks at the BODY tag’s content.
True
False
Which character is used to indicate an end tag?
<
/
*
^
Which of these elements are all <table> elements?
<thead><body><tr>
<table><tr><tt>
<table><head><tfoot>
<table><tr><td>
