Lesson 2

Lesson 2

11th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Pengenalan Aplikasi Blender

Pengenalan Aplikasi Blender

11th Grade

13 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

TN +2 -LESSON1 FUNCTIONS

TN +2 -LESSON1 FUNCTIONS

12th Grade

20 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Online Search Skills

Online Search Skills

7th - 12th Grade

16 Qs

Year 10 Data Transmission

Year 10 Data Transmission

9th - 12th Grade

13 Qs

Lesson 2

Lesson 2

Assessment

Quiz

Computers

11th - 12th Grade

Hard

Created by

Valarie Edwards

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following markup example, what is href?


<a href="http://www.example.com">This is a link.</a>

tag

attribute

value

element

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following markup example, what is the information between the quote marks?


<a href="http://www.example.com">This is a link.</a>

tag

attribute

value

element

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a global attribute?

a) class

class

id

mark

lang

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the standard HTML5 doctype declaration?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.example.com/TR/xhtml11/DTD/xhtml11.dtd">

<!DOCTYPE PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.example.com/TR/xhtml11/DTD/xhtml11.dtd">

<!doctype head>

<!doctyoe html>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to use an image file named green.png in your Web page. The file is located on a remote server at example.com in an images folder. What is the correct syntax?

<img src="http://www.example.com/images/green.png" alt="Green ball" />

<img src="http://www.example.com/green.png" alt="Green ball" />

<img src="http://www.example.com/images/blue.png" alt="Blue ball" />

<img src="/images/green.png" alt="Green ball" />

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are modifying a Web page to include product photos. Which of the following is the element that specifies the type of image file you’re adding, and has the ability to display multiple images side by side?

image

figure

href

src

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You are creating a shape using canvas. Which JavaScript method do you use to create the shape? (The method name would replace the word METHOD in the following code.)

<script>

function f1() {

var canvas =

document.METHOD("smlRectangle");

context = canvas.getContext("2d");

context.fillStyle = "rgb(0,0,255)";

context.fillRect(10, 20, 200, 100);

}

</script>

getIdByElement

getElementById

context.strokeStyle

getCanvas

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?