NEW
Font size
WorksheetsIntroduction to CSS
Total questions: 15
Worksheet time: 8mins
The acronym CSS stands for __________.
Cascading Style Sheets
Character Style Sheets
Computer Style Sheets
Collaborative Style Sheets
CSS is used to control the __________ of HTML documents.
layout
structure
content
organization
Styles are written inside __________.
curly braces
{ }
angle brackets
< >
parenthesis
( )
quotation marks
" "
The html attributes such as color, align, width are referred to in CSS as __________.
properties
styles
characteristics
formats
Internal CSS is placed inside the __________ section.
<head>
<html>
<body>
<title>
The opening tag for internal CSS is __________.
<style>
<style type="text/css">
<style type="text\css">
<style type="text&css">
CSS property and value are separated by _________.
colon
:
semi-colon
;
equal sign
=
comma
;
The values in a CSS style are normally written __________.
with a unit such as 500px.
as plain numbers, such as 500
in quotation marks, such as "500px"
in parenthesis, such as (500px)
The html tag or element, ex <p>, to which the style will be applied is called __________.
Selector
Property
Attribute
Pointer
The CSS selector for <h1> element is __________.
h1
<h1>
</h1>
(h1)
The CSS selector for the element <img src="logo.jpg"> is __________.
img
img src
<img>
<img src>
Multiple css property and value declarations are separated with a __________.
semi-colon
;
colon
:
comma
,
space
The unit of measurement for font size is mostly written as _________.
pt
px
ps
pp
Which of the following CSS styles is correct?
h2 {color:#45ABFF;}
<h2> {color:#45ABFF;}
h2 <color:#45ABFF;>
h2 {color:"#45ABFF";}
Which is the correctly written CSS style rule?
p {font-family: Arial;}
p {font-family= Arial;}
<p font-family: Arial>
<p font-family= "Arial">
