Font size
WorksheetsWeb Technologies by CVK
Total questions: 111
Worksheet time: 56mins
HTML stands for
HighText Machine Language
HyperText and links Markup Language
HyperText Markup Language
None of these
The correct sequence of HTML tags for starting a webpage is -
Head, Title, HTML, body
HTML, Body, Title, Head
HTML, Head, Title, Body
HTML, Head, Title, Body
Which of the following tag is used for inserting the largest heading in HTML?
<h3>
<h1>
<h5>
<h6>
Which of the following tag is used to insert a line-break in HTML?
<br>
<a>
<pre>
<b>
When a client requests a web page, what software is used as a tool?
Web Browser
Web Server
Website
Web Content
What type of webpage that changes its content upon interacting with the user?
Dynamic website
Static Website
Interactive Website
Idle Website
When a client requests a web page, what software is used as a tool?
Web Browser
Web Server
Website
Web Content
It is a coding language used to create internet pages
HTML
Title
Head
We must save the HTML file with the extension……………..
.Html
.doc
.JPG
you can Write HTML tags in capital or small letters.
True
False
When a client requests a web page, what software is used as a tool?
Web Browser
Web Server
Website
Web Content
<h1> Goose <p> is really cool </p>
Which is the proper way to write an h1 tag
<h1>Hello</h1>
<h1>"Hello
{h1}Hello{/h1}
<h1>Hello<h1>
The _________ element is the root element of an HTML page
<body>
<!DOCTYPE>
<html>
<head>
What does WWW stand for?
World Wide Web
Wide World Web
Web World Wide
We Will Wait
Internet and World Wide Web mean the exact same thing.
False
True
A collection of interlinked web pages on the World Wide Web
website
app
internet
www
Which of the following are opening HTML tags?
<p>
</p>
</body>
<body>
<h1>
Look at the HTML code below and predict how the headings will be displayed.
<h3> Eggs </h3>
<h1> Bacon </h1>
<h6> Waffles </h6>
Choose from one of the options.
Part of a program that does not work correctly.
bug
debugging
digital footprint
hyperlink
Finding and fixing problems in an algorithm or program.
bug
debugging
hyperlink
indentation
A note in the source code of a computer program that helps explain the code to people who read it. I can explain the different parts of the code and what it should create. It can help you to debug, and will also help other people who are trying to understand your code
indentation
citation
comment
debugging
Who is known as Father of the Web?
Bill Gates
Steve Jobs
Tim Berner’s Lee
James Gosling
Name the tags that contain only the opening tag and do not require a closing tag.
Container tag
Empty tag
Box tag
Clear tag
Which key lets you refresh the contents of a webpage?
F9
F2
F7
F5
What do you call the webpage that gets displayed first in the web browser when its website is downloaded?
First Page
Begin Page
Start Page
Home Page
Name the software used to receive and display web pages on a computer.
HTML Editor
Python
Web Browser
Hyperlink
What is the full form for W3C?
World Wide Web Consortium
World Wide Web Container
World Wide Web Console
World Wide Web Consonant
Name the basic unit of a website.
Tags
Webpage
Browser
Editors
What is/ are the file extension for HTML documents?
.htm
.html
.doc
Both .htm and .html
A(n) _______________CSS style is applied directly in the line of code of an HTML element.
designer
box model
inline
navigator
According to HTML defaults, page background color is usually
black
dark blue
white
light gray
Different versions of the same browser can produce different screen appearances from identical code.
True
False
Recent surveys indicate that the most popular browser is
Internet Explorer
Bing
Chrome
Firefox
In a CSS rule, styling information is contained in the
selector
declaration
class
id
The space between HTML content and a border around that content is the
padding
margin
box structure
line spacing
Which of the following is the proper way to apply the CSS code inside style.css to the home.html file?
Inside home.html:
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
Inside home.html:
<head>
<style href="style.css"></style>
</head>
Inside style.css:
<html href="home.html">
Inside style.css:
applyTo {
href: home.html;
}
Which of the following is the proper way to link to the about.html page from the index.html page?
<a href="about">About This Site</a>
<a href="/about.html">About This Site</a>
<a href="about.html">About This Site</a>
<a href="/about">About This Site</a>
Which of the following selects all p tags with the class alert and makes them red?
p.alert {
color: red;
}
p {
.alert {
color:red;
}
}
.alert p{
color: red;
}
p alert{
color: red;
}
A computer language used to describe how HTML elements should be styled.
CSS Selector
CSS
HTML
CSS Class
Part of a CSS rule-set that defines which HTML elements the style should be applied to
CSS Selector
CSS
HTML
CSS Class
If you wanted to change the font style for a selector in CSS, which code would you use in your CSS rule-set?
text-decoration: value;
text-align: value;
font-family: value;
color: value;
If you wanted to specify the horizontal alignment of text in a CSS element, which code would you use in your CSS rule-set?
text-decoration: value;
text-align: value;
font-family: value;
color: value;
If you wanted to specify the color of a text element, which code would you use in your CSS rule-set?
background-color: value;
border-color: value;
font-color: value;
color: value;
a set of rules to specify the style of a selected element.
CSS selector
tag
CSS rule-set
style.css
CSS allows al sorts of style rules for properties. Which of the following are properties that you can make rules for in a CSS style sheet?
fonts
position
size
color
Which of the following properties would allow you to change the style of the text in a paragraph?
color
text-align
font-family
text-size
text-decoration
If you wanted all the contents of your webpage to have the same style, which CSS selector would you use to create a rule set in your style sheet?
body
head
paragraph
float
background color
What selector would you use to style EVERY <p>?
Tag
Class
ID
What selector would you use to style ONE specific <p> to stand out with a different text color?
Tag
Class
ID
What selector would you use to style ALL <LI> with the same font-face?
Tag
Class
ID
What selector would you use to style a specific GROUP of elements the same?
Tag
Class
ID
WHERE do you code your CSS to style all the text in a 100-page website?
Attached
Inline
External
What do you call styling INSIDE an HTML tag?
Attached
Inline
External
WHERE do you code your CSS to control ONE SINGLE page?
Attached
Inline
External
What kind of SELECTOR is this?
Tag
Class
ID
Compound
What kind of SELECTOR is this?
Tag
Class
ID
Compound
What kind of SELECTOR is this?
Tag
Class
ID
Compound
1. What does CSS Stand for ?
Cascading Style Scene
Cascading Style Sheet
Car scating snow sled
Cascading Select Sheet
2. What would this do to a webpage with h1 tags
h1 { text-decoration:underline;
}
It make all the h1 tagged text be underlined
It would make just one h1 tagged text to be underlined
It would underline all the text in the webpage
It make all the text turn red
3. What special character needs to be used to tell the browser at the end of each line of css code ?
@
()
; ( Semi- colon)
: (colon)
4. Chose the css code that would change the colour of text
color = red;
color = red = text;
color:red;
red : color;
5. What errors are in this css code
p ( text-align: center:)
p needs to be capital (P)
no errors in the code
should be text = center;
should use { }, not () and ; to end not :
7. What type of software is Google Chrome
Operating System software
Internet Explorer Software
Broswer software
Web page software
Which of the following is a valid CSS rule?
h1 {
color: blue;
}
style="color:blue;"
css="color:blue;"
h1 {
color {
blue;
}
}
Why do we use CSS?
HTML wasn’t intended to be able to style web pages, CSS allows
us to add style
Separate the content of a web page from the design of a web page
Easily modify the look and feel of a web site even at a large scale
All of the above
Which of the following CSS rules will select the HTML element with the id logo and set the font size for
that element to 60 pixels?
logo {
font-size: 60px;
}
.logo {
font-size: 60px;
}
#logo {
font-size: 60px;
}
id="logo" {
font-size: 60px;
}
What does a class do?
adds color to words
adds style to specific elements
adds style to a whole page
adds a lot more work
Select the rule set to make all the text in your web page blue and centered.
p {
color: blue;
}
body {
text-align: left;
color: blue;
}
p {
text-align: center;
color: blue;
}
body {
text-align: center;
color: blue;
}
Which selector will change the font of the text?
font-size
text-align
font-famiy
text-decoration
Which rule set would change the font size to 24?
font-size: 24
size: 24;
font-size: 24;
font size: 24;
p {color: red;}
p {color: red;}
p {color: red;}
What symbol should you use to target a class name in css?
#
()
.
class
TRUE OR FALSE: HTML is used to style web pages.
True
False
