wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSF U3 Networks p1

Total questions: 12

Worksheet time: 7mins

Name
Class
Date
1.

HTML is NOT

a)

A programming language used on the Web

b)

Made up of a nested set of elements

c)

An example of a markup language

d)

Is mainly used for website content

2.

In the diagram, which label points to a HTML element?

a)

A

b)

B

c)

C

d)

D

3.

D is an

a)

end tag

b)

tag attribute

c)

element

d)

start tag

4.

The img element is

a)

is used to jump to a different web page

b)

requires an end tag

c)

is used to display a video

d)

an empty element

5.

To always jump to my main home page within mysite, which href would best?

a)

<a href="index.html">Home</a>

b)

<a href="/index.html">Home</a>

c)

<a href="http://mysite/index.html">Home</a>

d)

<a href="http://mysite/">Home</a>

6.

CSS is for?

a)

Content

b)

Style

c)

Behaviour

7.

Attaching CSS styles this way is called?

a)

Inline

b)

Internal

c)

External

8.

The style is selected by?

a)

id

b)

element

c)

class

9.

ID's are attached to elements...

a)

to identify a group of elements for styling

b)

when only one specific element needs styling

c)

to jump to a specific element internal to a page

d)

to identify a specific element in JavaScript

10.

In the CSS box model, the padding property is?

a)

the size of the content

b)

the size between the content and border

c)

the size between the border and enclosing element

11.

Which would you use to change the content of an element in JavaScript?

a)

element.content

b)

element.style

c)

element.innerHTML

12.

What JavaScript code in helloWorld() would make the paragraph change?

a)

document.getElementById("para1").color = "red";

b)

document.getElementById("para1").innerHTML = "hello";

c)

document.getElementById("p").style.fontSize = "45px";

d)

document.getElementById("para1").style.display = "none";