CSS Basics

CSS Basics

University

10 Qs

quiz-placeholder

Similar activities

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

quiz pertemuan 2 asik ddp

quiz pertemuan 2 asik ddp

University

15 Qs

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

Node.js

Node.js

University

10 Qs

Mikropemproses dan Mikropengawal

Mikropemproses dan Mikropengawal

12th Grade - University

15 Qs

PHP Introduction - Assignment 1

PHP Introduction - Assignment 1

University

10 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

CSS Basics

CSS Basics

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Udhayakumar Shanmugam

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers