Font size
WorksheetsWeb Development: HTML/CSS Basics
Total questions: 25
Worksheet time: 21mins
the main heading in a web document?
What is the difference between HTML and CSS?
HTML provides the content, CSS provides the pictures
HTML provides the structure & content, CSS provides the color / look of the web page
HTML and CSS are the same thing
None of the above
How do you make an image code?
<img src="..." alt="...">
<image source="..."> <alt>
</image> </alt>
<image src="..." alt="...">
None of the above
What does CSS stand for?
Cascading Style Sheets
Colorful Style Sheets
Computer Style Sheets
Creative Style Sheets
Where in an HTML document is the correct place to refer to an external style sheet (style.css)?
At the end of the document
In the <body> section
In the <head> section
Which rule set is written correctly?
A
B
C
D
Which property is used to change the background color?
background-color
color
bgcolor
border-color
How do you add a background color for all <h1> elements?
A
B
C
D
Which CSS property controls the text size?
text-size
font-size
text-style
font-style
Which property is used to change the font of an element?
font-style
font-family
font-weight
Which number shows how to add a style sheet?
1
2
3
4
Which code would style the following picture?
A
B
C
D
Which rule-set would make all paragraphs text in your web page blue and centered?
A
B
C
D
Which of the following property is used to set the height of an image?
border
height
width
weight
What does the "alt" tag do when added to the <img> tag?
Adds an alternative location where the image file can be found
Adds text under the image
Adds text that describes the image if the image cannot load
Adds an alternative image to show if the user doesn't like the first one
The web developer wants to make the "My Page" text larger. Which TWO of the following would work? (Choose TWO)
Use <h6> instead of <h3>
Use <h1> instead of <h3>
Put the "My Page" text inside the tags.
Use CSS to set the font-size property of the h3 tag
Put the code style="larger" inside the h3 tag.
Which of the following is true about copyright?
If an image is already on one web page, it's okay to use it on any web page.
If you make a lot of changes to an image, you do not need the permission of the original creator to post it on your site.
Image creators can decide both who can use their images and how the images can be used.
If there is no copyright information for an image, anyone is free to use it on their own sites.
You must always contact the creator for permission to use an image on your site.
Which rule set is written correctly?
A
B
C
D
What is finding and fixing problems in code?
debugging
solution
car wash
wax
