
CSS Basics

Quiz
•
Computers
•
University
•
Medium
Udhayakumar Shanmugam
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Quiz 1 HTML

Quiz
•
University
15 questions
Quiz-2: HTML & CSS (AIML)/CC/1st Year

Quiz
•
University
10 questions
CSS Quiz 2

Quiz
•
10th Grade - University
10 questions
html тегтеріне тапсырма

Quiz
•
University
10 questions
Quiz HTML

Quiz
•
University
15 questions
Web Technology

Quiz
•
University
10 questions
Website Design

Quiz
•
KG - University
10 questions
Html/Css Quiz Day 1

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade