Developer Certification Study Guide | Correct Answers 2025/2026
With respect to style sheets, inheritance is the ability for styles that you
apply to an element to:
A) be passed down throughout the rest of the document(s).
B) override the style attribute in the element.
C) be uploaded to the linked style sheet.
D) override the style attributes in the element. - correct answer be passed
down throughout the rest of the document(s).
What can be considered a disadvantage of using Cascading Style Sheets 3
(CSS3) to apply styles to your Web pages?
A) CSS3 cannot be used in conjunction with scripting languages when
developing Web pages.
B) No styles guides exist for CSS3.
C) CSS3 no longer allows styles to be inherited throughout your Web
document.
D) Most non-HTML5-compliant browsers cannot interpret CSS3. - correct
answer Most non-HTML5-compliant browsers cannot interpret CSS3.
Consider the following HTML and style sheet code:
<!-- NAVIGATIONAL SIDEBAR ->
<nav>
<ul>
<li><a href=http://www.habitat.org/how/about_us.aspx>Learn
more</a></li>
,<li><a
href=http://www.habitat.org/getinv/volunteer_programs.aspx>Volunteer</
a></li>
<li><a href=http://www.habitat.org/gov>Advocate</a></li>
<li><a href=https://www.habitat.org/cd/giving/donate.aspx?
r=r&link=1>Donate</a></li>
</ul>
</nav>
nav {
float: left;
width: 165px;
background: #fc3 url(navbg_04.gif) repeat-y top right;
height: 662px;
}
What can you infer from the example code?
A) A background image (navbg_04.gif) will appear to the left of the sidebar.
B) The sidebar will float on the right side of the document.
C) The sidebar will always appear 165 pixels wide and 662 pixels high.
D) The sidebar will appear at the top-right side of the document. - correct
answer The sidebar will always appear 165 pixels wide and 662 pixels
high.
What page layout should you use if you want to create Web pages whose
text, images and layout will not vary from browser to browser?
,A) Liquid layout
B) Fluid layout
C) Relative-width layout
D) Fixed-width layout - correct answer Fixed-width layout
Why should you use succinct wording on Web pages, especially the home
page, when designing your site?
A) Because you need to allow room on each page for as many navigational
aids as possible
B) Because most users want to see all topics on each page for easy
reference
C) Because most users simply scan pages quickly looking for specific
information or links to it
D) Because you need to allow room on each page for comments within the
source code - correct answer Because most users simply scan pages
quickly looking for specific information or links to it
The CSS Box Model consists of four rectangular boxes that can be
configured to create space and a border around each HTML element.
Which Box Model element defines the space between the HTML content
and its surrounding border?
A) Table
B) Margin
C) Padding
D) Block - correct answer Padding
Consider the following code from a CSS document:
, body {background-color: #008080; color: #FFFFFF;}
This code is an example of what?
A) A rule
B) A value
C) A declaration
D) A property - correct answer A rule
Why would you use an id selector with your CSS styles?
A) To apply a specific CSS style to a group of like elements
B) To apply a specific CSS style to one unique element
C) To define the relationship between an HTML document and the external
CSS file to which it is linked
D) To specify an external CSS file's MIME type - correct answer To apply
a specific CSS style to one unique element
What happens when you place a CSS rule between the /* and */
characters?
A) The rule will take precedence.
B) The rule will apply only to the default page in a Web site.
C) The rule will be ignored.
D) The rule will override all other styles in the HTML document. - correct
answer The rule will be ignored.
What is a CSS selector?
A) The property in a markup tag to which designated styles are applied
B) The value in a markup tag you want to change with a CSS style