Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 21 pages
Exam (elaborations)

COMP 126 FINAL Exam Questions AND Correct Answers

Document preview thumbnail
Preview 3 out of 21 pages

COMP 126 FINAL Exam Questions AND Correct Answers

Content preview

COMP 126 FINAL Exam Questions AND Correct Answers
A CSS formatting rule consists of what two parts - ✔✔selector
and declaration


A CSS grid container consists of grid items - ✔✔that consist of
one or more grid cells


A flex container can contain one or more - ✔✔flex items


A scalable image is scaled - ✔✔to the width of the element
that contains it


A vertical navigation menu is best coded as - ✔✔a series of
<a> elements within the li elements of an unordered list


By default, an ordered list is displayed as - ✔✔a numbered list


By default, items in a flex container are displayed -
✔✔horizontally from left to right


CSS stands for - ✔✔Cascading Style Sheet

,Flexbox allows you to lay out elements side by side... -
✔✔without using floats


How can you easily view the code behind a website that you
find online? - ✔✔use the developer's tools in your browser


How do element behave in what we call the "normal (or
natural) flow of the document"? - ✔✔They flow left to right
and top to bottom


How many levels of heading does HTML include by default? -
✔✔6


HTML and CSS are a collection of - ✔✔Web Standards


HTML is used to define the - ✔✔structure and content of a
webpage


If I want the fill color of an <a> element to change to red when
the user's cursor is positioned over it, which of the following
rules could I use? - ✔✔a:hover {background: red;}

, If the following CSS appears in a stylesheet, what color will
the associated <h1> appear?
h1, h2, h3 {color: red; font-size: 36px;}
h3 {font-size: 24px;}
h1 {color: blue;} - ✔✔blue


If two CSS declarations conflict, which declarations override
the other declarations/ have the highest priority? -
✔✔!important declarations in the user's style sheet


If you don't explicitly set a value for the position property of
an element, what value will it have? - ✔✔position: static;


In order to apply absolute positioning to an element you must
also - ✔✔apply an explicit position value to its next nearest
container element


In the box model for an element, the border - ✔✔is between
the padding and the margin

Document information

Uploaded on
October 31, 2025
Number of pages
21
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExamsCentre
3.7
(3)
Sold
13
Followers
0
Items
1709
Last sold
2 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions