Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

University

20 Qs

quiz-placeholder

Similar activities

HTML & CSS

HTML & CSS

University

20 Qs

CSS

CSS

5th Grade - Professional Development

25 Qs

EXAMEN 1

EXAMEN 1

University

20 Qs

Quizz de CSS

Quizz de CSS

University

15 Qs

HOJAS DE ESTILO

HOJAS DE ESTILO

University

20 Qs

HTML & CSS Quiz

HTML & CSS Quiz

11th Grade - Professional Development

18 Qs

Fundamentos de Desarrollo Web

Fundamentos de Desarrollo Web

University

22 Qs

Parcial IV Unidad - Laboratorio

Parcial IV Unidad - Laboratorio

University

20 Qs

Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

Assessment

Quiz

Computers

University

Medium

Created by

Janani Satheshkumar

Used 4+ 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?