100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COMP 126 MIDTERM QUESTIONS & ANSWERS

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
15-08-2025
Written in
2025/2026

COMP 126 MIDTERM QUESTIONS & ANSWERS Which of the following can you not do with flexbox properties and values alone (that is, with no other methods)? - Answer -Make a row of elements collapse together into a hamburger menu when viewed on a small mobile browser

Show more Read less
Institution
COMP 126
Course
COMP 126








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
COMP 126
Course
COMP 126

Document information

Uploaded on
August 15, 2025
Number of pages
4
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COMP 126 MIDTERM QUESTIONS & ANSWERS
What is the term we use to describe any item on a web page that can be distinguished
via HTML tags? - Answer -Element

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

The title element in the head section of an HTML document specifies the text... -
Answer -that's displayed in the browser's tab for the page.

Which of the following is an HTML attribute in the below code?
<body><a href="http://www.google.com">Google</a><br/></body> - Answer -
href=http://www.google.com

When you comment out a portion of HTML code, you disable it by... - Answer -
enclosing it within these characters: <!-- and -->

Within a CSS style rule, a declaration consists of... - Answer -a property and a value.

The portion of a web page that contains all the content to be displayed on the page
should be coded as an HTML5... - Answer -body element

HTML is used to define... - Answer -the structure and contents of a web page.

CSS is used to... - Answer -format the HTML elements of a web page.

The best practice for adding CSS to a website is... - Answer -via a <link> element
pointing to an external stylesheet.

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

When you set the border for a block element, you can set - Answer -its color, style, and
width

Which of the following can you not do with flexbox properties and values alone (that is,
with no other methods)? - Answer -Make a row of elements collapse together into a
hamburger menu when viewed on a small mobile browser

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

You use the justify-content property to align the flex items in a container - Answer -
along the main axis

Which CSS property do you use to display a block element as a flex container? -
Answer -display

Get to know the seller

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.
GEEKA YALA UNIVERSITY
View profile
Follow You need to be logged in order to follow users or courses
Sold
1999
Member since
3 year
Number of followers
1444
Documents
46947
Last sold
9 hours ago

3.8

342 reviews

5
170
4
61
3
44
2
16
1
51

Recently viewed by you

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

Frequently asked questions