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

WGU C777 Web Development Applications PA Cascading Style Sheets (CSS3) Techniques Exam Questions and Answers

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
15-01-2025
Written in
2024/2025

Which style rule correctly defines the 2em Arial font for all level two heading elements? A. h2 { font-family-: Arial; font-weight: 2em; } B. .h2 { font-name: Arial; font-size: 2em; } C. h2 { font-family: Arial; font-size: 2em; } D. .h2 { font-name: Arial; font-weight: 2em; } - C. h2 { font-family: Arial; font-size: 2em; } Explanation: The correct syntax for specifying the font family and size is font-family and font-size, not font-name or font-weight. 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 - A. Text Explanation: The color property affects the text color of an element. 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 - A. A <style> element to the <head> section Explanation: An internal style sheet should start with a <style> element within the <head> section. What is the first character a developer should use for an id selector in CSS? A. # B. : C. ; D. . - A. # Explanation: The # symbol is used to denote an id selector in CSS. A developer has an image that needs to remain in the same place when the page is scrolled. Which CSS positioning scheme should this developer use? A. Static B. Absolute C. Relative D. Fixed - D. Fixed Explanation: The fixed positioning scheme keeps an element in the same position even when the page is scrolled. A developer needs two pixels of space on the left side of content relative to the border. Which CSS property should this developer use? A. padding-left: 2px; B. border: 2px; C. margin-left: 2px; D. float: left; - A. padding-left: 2px; Explanation: The padding-left property adds space inside the element, between the content and its border. What immediately encloses the padding in the CSS box model? A. Content B. Margin C. Border D. Table - C. Border Explanation: In the CSS box model, the border immediately encloses the padding. What is the outermost box of the CSS box model? A. Border B. Padding C. Content D. Margin - D. Margin Explanation: The margin is the outermost part of the CSS box model. Which markup positions an image so that the lower part of it is even with the lower part of adjoining text? A. <img src="" vertical-align="baseline"> B. <img src="" text-align="bottom"> C. <img src="" padding="baseline"> D. <img src="" margin="bottom"> - A. <img src="" vertical-align="baseline"> Explanation: The vertical-align="baseline" attribute positions the lower part of the image with the lower part of adjoining text. Which syntax for a CSS class floats images to the right? A. .floatright { float: right; margin: 7px; } B. .floatright < float: right; margin: 7px; > C. .float { floatright: right; margin: 7px; } D. .float < float: right; margin: 7px; > - A. .floatright { float: right; margin: 7px; } Explanation: The syntax in option A is correct for floating an element to the right. A web designer reviews the following style rule: #brand { font-weight: bold; } Which paragraph element will it select? A. <p class="brand">Web Design</p> B. <p id="brand">Web Design</p> C. <p style="brand">Web Design</p> D. <p id="#brand">Web Design</p> - B. <p id="brand">Web Design</p>

Show more Read less









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

Document information

Uploaded on
January 15, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • wgu
  • wgu c777

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.
boomamor2 NURSING
View profile
Follow You need to be logged in order to follow users or courses
Sold
1012
Member since
4 year
Number of followers
733
Documents
3784
Last sold
6 days ago

4.0

114 reviews

5
59
4
23
3
16
2
4
1
12

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