100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

COMP 126 FINAL EXAM QUESTIONS AND ANSWERS 100% CORRECT

Beoordeling
-
Verkocht
-
Pagina's
17
Cijfer
A+
Geüpload op
29-10-2025
Geschreven in
2025/2026

COMP 126 FINAL EXAM QUESTIONS AND ANSWERS 100% CORRECT ...

Instelling
COMP 126
Vak
COMP 126










Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
COMP 126
Vak
COMP 126

Documentinformatie

Geüpload op
29 oktober 2025
Aantal pagina's
17
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

COMP 126 FINAL EXAM QUESTIONS AND
ANSWERS 100% CORRECT


What type of HTML element will always by default appear on a new line in the browser? -
ANSWER block elements




The portion of a web page that must contain all the content to be displayed on the page
should be coded as an HTML5 - ANSWER <body> element




What is the term we use to describe any item on a web page that can be distinguished via
HTML tags? - ANSWER element




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




How many levels of heading 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




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

,The div element should only be used - ANSWER when the existing HTML5 structural-semantic

elements don't apply




Which of the following is an inline element by default? - ANSWER <span></span>




Which of the following is the best choice to tag the header area in HTML, that is, the very top
of a website where users can typically find the name and logo of that site, among other
things? - ANSWER <header></header>




Which of the following selectors indicate a CSS rule that should apply to all instances of the
<p> element that are located inside a <nav> element on a webpage? - ANSWER nav p {}




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? - ANSWER a:hover {background: red;}




Which of the follow selectors is most specific? (.nav, #nav, a, div) - ANSWER #nav (IDs are the

most specific)




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




Psuedo-class selectors let you apply formatting - ANSWER to the element in specific states or
conditions

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




The following code: padding .5em 0 .25em; applies padding to an element: - ANSWER .5em
top, 0 left and right, and .25em bottom




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




Which CSS property should you alter to create more space between the contents of an
element and the border of the same element? - ANSWER padding




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;} - ANSWER blue




Which of the following techniques can you NOT use to create a two-column layout - ANSWER

Code columns in any order in the HTML and then float both to the left




When you use the float property to create columns for a page layout, you must also set -
ANSWER the width of the floated elements

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Evergreenview Harvard University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
9
Lid sinds
1 jaar
Aantal volgers
1
Documenten
2319
Laatst verkocht
2 maanden geleden

4,8

5 beoordelingen

5
4
4
1
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen