Font size
WorksheetsHTML And CSS
Total questions: 53
Worksheet time: 28mins
Which of the following is an opening HTML tag?
</html>
<<html>>
<html>
<html/>
Which one of the following is a closing HTML tag?
<html />
</html>
<</html>>
<html>
Which tag is used to add an image?
<image>
<img>
<<img>>
</image>
Which of the following is the correct way to add an attribute?
<src>
classes:ids
id="title"
<id>
What symbol should you use to target an id in css?
.
+
id
#
What symbol should you use to target a class name in css?
#
()
.
class
What is the correct syntax to change the background color with css?
background-color: purple;
background-color = "purple";
backgroundcolor=orange
change-background-color: purple
TRUE OR FALSE: HTML is used to style web pages.
True
False
TRUE OR FALSE: CSS is used to style web pages
True
False
What is missing from this HTML skeleton?
<!DOCTYPE html>
<html>
<body>
</body>
</html>
<head></head>
<div></div>
<img></img>
<head>
What tag do you use to make a numbered list?
<list>
<ol>
<li>
<ul>
How do you change the font color with CSS?
font-color: green;
color: green;
change-font-color: green;
fontcolor=green;
TRUE OR FALSE: All tags require a closing tag.
True
False
Where should you put the link tag to connect your CSS and HTML file?
Between the <head> </head> in HTML
Between the <body> </body> in HTML
None of the above.
Which of the following is the correct CSS link tag?
<link rel="styles" href="stylesheet.css">
<link href="stylesheet">
<link rel="stylesheet" src="styles.css">
<link rel="stylesheet" href="styles.css">
The stylesheet is used to
code the css page.
link css to the html page.
add css to notepad++
link java script to the html page.
What is the proper CSS format for background color?
back-ground color:orange:
backgroundcolor-orange;
background:color:orange;
background-color:orange;
Which one is the largest heading?
h1
h2
h4
h6
Which one is the smallest heading?
h1
h2
h4
h6
Every html page is required to have a linked CSS page.
True
False
Comments in coding is used to help
the programmer
anyone viewing the website
the editor of the code
the reader of the code
Every element of html coding must have an opening and closing tag.
True
False
What is the proper way to code a website title using HTML
title{
New Website}
<title>New Website</title>
.tile New Website
<title>New Website<title>
______ is used to create electronic documents (called pages) that are displayed on the World Wide Web. Every web page you see on the Internet is written using one version of _____ code or another.
JPEG
CSS
HTML
A ___________ is an icon, graphic, or text that links to another file or object. These are what allow web pages to connect to other web pages
hyperlink
HTML Tags
browser
<br>
A ________ is a software program to present and explore content on the World Wide Web.
Word Processor
Browser
HTTP
attribute
What does HTML stand for?
Hyper Text Markup Language
Hilary Text Markup Language
Text Markup Language Hyper
Hippo Text Markup Language
What is CSS?
CSS outline the style of an HTML web page, it is a language by which we can set the behaviour of an HTML web page. It describes how the HTML content will be shown on screen.
CSS controls the layout of several HTML web pages. CSS is referred to as the Cascading Style Sheet.
CSS is a language that can only be coded with HTML.
What even is CSS?
What are tags?
Content is placed in between HTML tags in order to properly format it. It makes use of the less than symbol (<) and the greater than symbol (>). A slash symbol is also used as a closing tag.
Content is placed in between HTML tags in order to properly format it. It makes use of the less than symbol (-) and the greater than symbol (-). A slash symbol is also used as a closing tag.
Content is placed in between HTML tags in order to properly format it. It makes use of the less than symbol (") and the greater than symbol ("). A slash symbol is also used as a closing tag.
Content is placed in between HTML tags in order to properly format it. It makes use of the less than symbols (<--) and the greater than symbols (<!--). A slash symbol is also used as a closing tag.
Do all HTML tags come in a pair?
Yes
No
What is formatting in HTML?
The HTML formatting is a process of format the text for a better look and feel. It uses different tags to make text bold, italicized, underlined.
HTML is a formatting process for better images and looks.
What is the internet?
A wire in the ocean
A network of computers
Pictures of cats
Dominos
All of the above
What are client-side devices?
Two connected computers
Devices that we, the users/clients, use to access the internet. The ones on our desks, and pockets.
A network of computers
A wire in the ocean
What is a server?
It is a computer, that hears the client side device request, and generate a response to it.
It is the device we use to access the internet
Pictures of Cats
It is a cable that connects two or more computers
