Search Header Logo

Mastering HTML and CSS Concepts

Authored by Janani Satheshkumar

Computers

University

Used 8+ times

Mastering HTML and CSS Concepts
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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?