
CSS Basics
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Udhayakumar Shanmugam
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
CSS takes care of
Data
Deign
Behaviour
Structure
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these is the new feature added in CSS version 3
Box Model
Web Animation
Pseudo classes
Visual Effects
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these is the correct code to link the external style sheet named mystyle.css?
<!DOCTYPE html>
<html>
<head>
<link rel=stylesheet href="mystyle.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="mystyle.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<links rel="stylesheet" href="mystyle.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<link rel="css" href="mystyle.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The .......................... selector is used to
define style rules for a
single or unique element
id
class
universal
identify
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of CSS class selector</title>
<style>
p.blue {
color: #0000ff;
}
</style>
</head>
<body>
<h1 class="blue">This is a heading</h1>
<p class="blue">This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
Name the selector used in this HTML Code
Grouping
class
universal
Element
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The correct code for the above image is...............
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url("img_tree.png");
background-repeat: no-repeat;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<p>Amrita background image example.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url("img_tree.png");
background-repeat: repeat-x;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<p>Amrita background image example.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url("img_tree.png");
background: no-repeat;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<p>Amrita background image example.</p>
</body>
</html>
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if you set a font-size of 20px on the body element, then 1em = ?
2em
20px
40px
1em
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Internet Basics
Quiz
•
5th Grade - University
12 questions
ロジックテスト (Đề kiểm tra năng lực IT)
Quiz
•
University
10 questions
Sessions and Cookies
Quiz
•
University
15 questions
Ms. Exel dan Fungsi Logika IF
Quiz
•
10th Grade - University
10 questions
Diagnóstico Páginas Web
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
10 questions
YT-Quiz
Quiz
•
University
15 questions
Наукова вікторина
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
