NEW
Font size
WorksheetsHTML and CSS
Total questions: 30
Worksheet time: 15mins
HTML is what type of language ?
Scripting Language
Markup Language
Network Protocol
Programming Language
Apart from <b> tag, what other tag makes text bold ?
<fat>
<emp>
<black>
<strong>
What tag is used to display a picture in a HTML page?
picture
src
img
image
Which HTML tag produces the biggest heading?
<h7>
<h5>
<h3>
<h1>
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
What is missing from this HTML skeleton?
<!DOCTYPE html>
<html>
<body>
</body>
</html>
<head></head>
<div></div>
<img></img>
<head>
TRUE OR FALSE: CSS is used to style web pages
True
False
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>
What is the correct way to write a comment in HTML?
/* comment */
<!– comment –>
ctrl + Ç
<¡– comment –>
What is the correct way to write a link in HTML?
<link href=”#”>…<link>
<a title=”#”>…</>
<a src=”#”>…</a>
<a href=”#”>…</a>
What does CSS mean?
Cascading Style Sheets
Center Style Steels
Calibre Style Sheet
No answer is correct
What is the correct order of the opening tags for a basic web structure?
<body>, <head>, <html>
<html>, <body>, <head>
<html>, <head>, <body>
<head>, <body>, <html>
td
one cell in a header
one column of a row
one row of a column
one data cell in a row
Which tag does not need a closing tag?
<a href>
<head>
<body>
<img src>
<th></th> is the code for .....
a table row
a table column
a table header
Thanos
sets the color of words in a paragraph
h1 {
color: pink;
}
img {
color: pink;
}
body {
color: pink;
}
p {
color: pink;
}
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
Which rule set would change the font size to 24?
font-size: 24
size: 24;
font-size: 24;
font size: 24;
