wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Inline vs. Internal CSS

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

CSS stands for

a)

Code Style Sheet

b)

Coding Style Sheet

c)

Cascading Sheet Style

d)

Cascading Style Sheet

2.

Where in an HTML document is the correct placement for an internal style sheet?

a)

In the <head> section

b)

In the <body> section

c)

inside an HTML element

d)

In the <css> section

3.

An inline element affects

a)

everything in a block-level element

b)

everything in a div block

c)

only the content between its opening and closing tags

d)

only CSS style rules

4.

Which HTML tag is used to define an internal style sheet?

a)

<style>

b)

<css>

c)

<script>

d)

<body>

5.

What type of CSS is used for a single page?

a)

external

b)

inline

c)

internal

6.

Internal cascading coding would appear

a)

inside external *.css file

b)

inside the <head> tag

c)

inside the <body> tag

d)

inside an HTML element

7.

What type of CSS is used for a single word?

a)

internal

b)

inline

c)

external

8.

Which answer shows the correct syntax for an inline style?

a)

<p style="color:#006000">This is green</p>

b)

<p style=color:#006000;>This is green</p>

c)

<p style="color:#006000;">This is green</p>

d)

<p "style=color:#006000;">This is green</p>

9.

Any content that is visible on your web page should go between these tags.

a)

<html></html>

b)

<style></style>

c)

<body></body>

d)

<head></head>

10.

What is the secret word?

a)

Husky

b)

computer

c)

kitten

d)

blue

e)

hamburger