wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

UNIT 2 SkillStruck HTML & CSS

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

css properties

a)

Traits of CSS include defining a property and a value, separated by a colon and delineated with a semi-colon.

b)

CSS properties are only related to colors and fonts.

c)

CSS properties are used to create animations and transitions only.

d)

CSS properties are not necessary for web design.

2.

onclick

a)

An event listener that reacts when an element is clicked.

b)

A method to change the style of an element.

c)

A function that retrieves data from a server.

d)

A property that defines the position of an element.

3.

declaration

a)

A statement of intent or purpose.

b)

When something has been created or built out.

c)

A formal announcement of a decision.

d)

A legal document that outlines rights and responsibilities.

4.

marquee-alternate

a)

A behavior for marquees that creates a boomerang effect.

b)

A style that makes text scroll horizontally across the screen.

c)

A method to pause marquee text on hover.

d)

A technique to change the color of marquee text.

5.

border

a)

The outside edge surrounding a box or image.

b)

A type of graphic design element.

c)

A line that separates two different colors.

d)

A decorative pattern used in artwork.

6.

background-color property

a)

Sets the color of the background of an element.

b)

Defines the font size of an element.

c)

Specifies the margin around an element.

d)

Controls the visibility of an element.

7.

marquee scrollamount

a)

Declares how fast the marquee goes.

b)

Sets the color of the marquee text.

c)

Defines the width of the marquee area.

d)

Specifies the direction of the marquee movement.

8.

marquee behavior

a)

Declares what kind of movement a marquee makes: alternate, scroll, or slide.

b)

Specifies the color of the marquee text.

c)

Sets the speed of the marquee movement.

d)

Defines the size of the marquee area.

9.

background-image property

a)

Sets an image as the background of an element.

b)

Changes the color of an element's background.

c)

Adds a border around an element.

d)

Sets the opacity of an element.

10.

marquee direction

a)

Declares which direction (right, left, up, or down) a marquee goes.

b)

Specifies the speed of the marquee movement.

c)

Determines the color of the marquee text.

d)

Sets the font style of the marquee content.

11.

border radius

a)

Determines how round a corner is.

b)

Specifies the width of an element.

c)

Sets the color of the border.

d)

Controls the opacity of an element.

12.

marquee scroll

a)

A marquee behavior that causes the information to slide off screen and show up at the other end.

b)

A static display of text that does not move.

c)

A type of animation that only appears on hover.

d)

A method to create a pop-up window on a webpage.

13.

selector

a)

Pattern used to select which element to style a certain way based on ID, class, attribute, or name (e.g. body or h1).

b)

A method for organizing CSS rules in a stylesheet.

c)

A tool for debugging HTML elements in a browser.

d)

A framework for building responsive web designs.

14.

event listeners

a)

Execute their code when a certain event takes place, such as the user hovering over an element or a click on an element.

b)

Are used to style elements on a webpage based on user interactions.

c)

Are functions that run automatically when a webpage loads.

d)

Are responsible for managing the layout of a webpage.

15.

iframe (inline frame)

a)

The iframe tags specify an inline frame that embeds documents, photos, and videos from different websites into an HTML document.

b)

The iframe tags are used to create a new HTML document within the current document.

c)

The iframe tags are used to link to external stylesheets in an HTML document.

d)

The iframe tags are used to create a form for user input in an HTML document.

16.

marquee slide

a)

A marquee behavior that causes the information to reach the end of the screen and stop.

b)

A scrolling text effect that continuously moves across the screen.

c)

A type of animation that fades in and out on the screen.

d)

A method to display images in a slideshow format.

17.

declaration block

a)

The code held between the curly braces in CSS. { }

b)

A section of HTML that defines a layout.

c)

A JavaScript function that executes on page load.

d)

A CSS selector that targets multiple elements.

18.

marquee

a)

A type of decorative border

b)

A moving text that slides across the screen in different directions.

c)

A style of font used in graphic design

d)

A method of organizing data in a database.