Which attribute is used to display an image inside a <video> element before the video starts playing?
A) src
B) img
C) type
D) poster ANS -poster
Which style sheet code defines the 18-pixel Arial font for all level two headers?
A) h2
{
font-family-: Arial; font-weight: 18px; }
B) .h2
{
font-name: Arial; font-size: 18px; }
C) h2
, {
font-family: Arial; font-size: 18px; }
D) .h2
{
font-name: Arial; font-weight:18px; } ANS -h2
{
font-family: Arial; font-size: 18px; }
Given the following CSS code:
body {
color : white;
}
Which part of an element is affected by the color property?
A) Text
B) Border
C) Background
D) Shadow ANS -Text
What should be added first when embedding CSS in a single web page as an internal style sheet?
A) A <style> element to the <head> section
B) A <head> element to the <style> section
C) Declarations within a <style> </style> block
D) Declarations within a <head> </head> block ANS -A <style> element to the <head> section
What is the first character a developer should use for an id selector in CSS?
A) #
B) :
C) ;
D) . ANS -#
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Professorkaylee. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.59. You're not tied to anything after your purchase.