Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

University

20 Qs

quiz-placeholder

Similar activities

GIS Unit III

GIS Unit III

University

15 Qs

ICT Unit-2

ICT Unit-2

University

20 Qs

Quiz 1 CCE

Quiz 1 CCE

University

15 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

Computer and Other Human Inventions

Computer and Other Human Inventions

University

15 Qs

Robotics Prelim

Robotics Prelim

University

15 Qs

Algoritma Pemrograman

Algoritma Pemrograman

University

20 Qs

Digital and Analog transmission

Digital and Analog transmission

University

20 Qs

Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Janani Satheshkumar

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are designing a website layout using CSS. You want to ensure that the container of a section takes up 50% of the screen width, regardless of the user's screen size. Which of the following is the correct CSS property to achieve this?

width: 50px

width: 50%;

max-width: 50%;

min-width: 50%;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tag is used to create a hyperlink in HTML?

<link>

<href>

<a>

<button>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the tag in an HTML document?

The tag is used to include images and videos in the document.

The tag is used to display the main content of the page.

The tag is used to contain meta-information about the HTML document.

The tag is for defining the layout of the webpage.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute is used to specify the destination of a link?

link

src

href

target

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In CSS, how would you center a block-level element horizontally within its parent container?

position: center;


margin: auto;


text-align: centre

align: middle;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does CSS stand for?

Cascading Style Sheets

Cascading Style Systems

Cascading Style Scripts

Cascading Syntax Sheets

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to change the text color?

margin

font-size

background-color

color

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?