Advanced CSS

Advanced CSS

9th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

แนวคิดเชิงคำนวณ ม.4/1

แนวคิดเชิงคำนวณ ม.4/1

10th Grade

20 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

Excel básico

Excel básico

10th Grade

18 Qs

Ms. Exel dan Fungsi Logika IF

Ms. Exel dan Fungsi Logika IF

10th Grade - University

15 Qs

Bimestral 2P

Bimestral 2P

11th Grade

15 Qs

KIỂM TRA 15 PHÚT MÔN TIN 12

KIỂM TRA 15 PHÚT MÔN TIN 12

12th Grade - University

20 Qs

C Programming

C Programming

11th Grade

20 Qs

EXCEL SỬ DỤNG CÁC HÀM

EXCEL SỬ DỤNG CÁC HÀM

7th - 9th Grade

16 Qs

Advanced CSS

Advanced CSS

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Thomas Martinez

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the proper way to apply the CSS code inside style.css to the home.html file?

Inside home.html:


<head>

<link rel="stylesheet" type="text/css" href="style.css">

</head>

Inside home.html:


<head>

<style href="style.css"></style>

</head>

Inside style.css:


<html href="home.html">

Inside style.css:


applyTo {

href: home.html;

}

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the proper way to link to the about.html page from the index.html page?

<a href="about">About This Site</a>

<a href="/about.html">About This Site</a>

<a href="about.html">About This Site</a>

<a href="/about">About This Site</a>

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What are IFrames?

Buttons that link to other websites

Videos uploaded to your website

The number of views your website has

HTML pages embedded inside of other HTML pages

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

True or False: It is possible to embed any website inside IFrames.

True

False

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the function of the div tag?

To define a section of an HTML page

To group a block of elements together to format them with CSS

To efficiently apply the same style to several different elements

All of the above

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following correctly uses div to style multiple elements the same way?

<div class="intro">

<h2>Welcome</h2>

<p>Hi, welcome to my page.</p>

</div>

<div>

<h2 class="intro">Welcome</h2>

<p class="intro">Hi, welcome to my page.</p>

</div>

<div>

.intro{

font-size: 16px;

font-style: italic;

}

<h2>Welcome</h2>

<p>Hi, welcome to my page.</p>

</div>

<h2 div class="intro">Welcome</h2>

<p div class="intro">Hi, welcome to my page.</p>

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the difference between <span> and <div>?

<span> is better for styling text, while <div> is better for styling images

<span> is for styling multiple elements, while <div> is for styling single elements at a time

<span> is used to group and style inline elements, while <div> creates a line break

<span> is used to style elements, while <div> is used to embed parts of other websites

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?