Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

University

20 Qs

quiz-placeholder

Similar activities

Python Quiz

Python Quiz

University

15 Qs

Spreadsheet Fundamentals - Quiz2

Spreadsheet Fundamentals - Quiz2

University

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - 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?