Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

University

20 Qs

quiz-placeholder

Similar activities

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

CN_Minor2

CN_Minor2

University

20 Qs

Logic Based Testing

Logic Based Testing

University

15 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

DBC CHAPTER 3 - REVISION

DBC CHAPTER 3 - REVISION

University

15 Qs

Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

Assessment

Quiz

Computers

University

Medium

Created by

Janani Satheshkumar

Used 6+ times

FREE Resource

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?