Web Development Tutorial 3 Quiz Review A

Web Development Tutorial 3 Quiz Review A

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

PTS INFORMATIKA GENAP KELAS 8

PTS INFORMATIKA GENAP KELAS 8

1st - 12th Grade

25 Qs

files and folders

files and folders

5th - 9th Grade

32 Qs

J808 LO3.2 Information

J808 LO3.2 Information

10th Grade

25 Qs

Charts

Charts

9th Grade

25 Qs

Round 2

Round 2

11th - 12th Grade

25 Qs

TLE 10

TLE 10

7th - 10th Grade

25 Qs

1.3 Binary Shifts

1.3 Binary Shifts

9th - 12th Grade

25 Qs

Role of Political Parties

Role of Political Parties

9th - 12th Grade

25 Qs

Web Development Tutorial 3 Quiz Review A

Web Development Tutorial 3 Quiz Review A

Assessment

Quiz

Other, Design, Computers

9th - 12th Grade

Hard

Created by

Brett Kottmann

Used 4+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

According to your textbook, desktop layouts are often based on grid layouts with _____ columns.

1-3

7-11

4-6

12 or more

Answer explanation

Media Image

You can have as many columns as you like, but too many columns can make your content look "squished".

You can use dashed colored lines to see how your grid is layed out on a screen like we did in tutorial 3.

2.

DRAG AND DROP QUESTION

20 sec • 5 pts

The ​​ (a)   value of the display style removes an element from a rendered page.

None
Null
Empty
Hide

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

The _____ property allows one to define a rectangular region through which an element’s content can be viewed.

Clip

Box

Rect

Window

4.

DRAG AND DROP QUESTION

20 sec • 5 pts

The coordinates for an element being placed within a container need not be defined as long as its position is set to (a)   .

relative
absolute
inherit
fixed

Answer explanation

Absolute, Relative, Fixed, Inherit, and Static Positioning

Absolute positioning defines the position of a given bounding box from the top and left side margins of the web page. This not only allows objects to be placed in an exact location, it also allows objects to be placed one on top of another.

Relative positioning defines the positioning in such a way that elements are offset from the previous element in the HTML code. This allows objects to be placed in relation to one another.

Fixed positioning defines the position of a given box relative to the window and remains in its specified location even as the content scrolls underneath it. This value does not work in Internet Explorer 6 or earlier. In IE 7, the browser must be in “standards-compliance mode”.

Inherit positioning explicitly sets the value to that of the parent (if the parent is position:absolute, the child will be position:absolute; if the parent is position:fixed, the child will be position:fixed).

Static positioning is the default. It defines the position of a given box essentially as an unpositioned element – it flows in the normal rendering sequence of the web page.

(You should really add this to your notes!)

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

To create a drop cap, one can increase the font size of an element’s _____ and float it on the left margin.

First line

First character

Last character

Hover element

Answer explanation

Drop caps are an easy way to make your paragraphs more dramatic.

Use the CSS ::first-letter pseudo element to do this.

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

In the z-index property, the value of _____ stacks the object using default rules.

Left

Auto

Hidden

None

Answer explanation

You can think of the z-value as a vertical stacking order. Items with a greater z-value will stack above those with a lower value.

You can use this to create a 3-D effect on your web pages or just shuffle items that can be seen by the user because they are "on top" of the other items.

Think of it like a stack of papers on a desk. You can clearly see the one on top, but may only see bits and pieces of papers that are underneath.

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Browsers ignore any values specified for the left or top properties under _____ positioning.

inherited

absolute

elastic

static

Answer explanation

position: fixed;

An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element.

position: absolute;

An element with position: absolute; is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed).

However; if an absolute positioned element has no positioned ancestors, it uses the document body, and moves along with page scrolling. Note: Absolute positioned elements are removed from the normal flow, and can overlap elements.

position: relative;

An element with position: relative; is positioned relative to its normal position. Setting the top, right, bottom, and left properties of a relatively-positioned element will cause it to be adjusted away from its normal position. Other content will not be adjusted to fit into any gap left by the element.

HTML elements are positioned static by default.

Static positioned elements are not affected by the top, bottom, left, and right properties.

position: static;

An element with position: static; is not positioned in any special way; it is always positioned according to the normal flow of the page.

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?