NEWEST 2025 WGU C777 OBJECTIVE ASSESSMENT FINAL WITH
250 VERIFIED QUESTIONS AND CORRECT ANSWERS COVERING
WEB DEVELOPMENT, HTML, CSS, JAVASCRIPT, ACCESSIBILITY,
AND DESIGN BEST PRACTICES.
Why is it important that you adopt a single W3C standard and apply it consistently to your Web
page markup?
A) When you validate your markup code, the code will match the DTD (standard syntax rules)
that you specify.
B) You can more easily structure your Web page without the need of document structure tags.
C) When you validate your markup code, only invalid code will be marked as such.
D) When you validate your markup code, the validation program can easily identify the actual
cause of any invalid code. - ANSWER-When you validate your markup code, the code will match
the DTD (standard syntax rules) that you specify.
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. - 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.
,2|Page
D) Most non-HTML5-compliant browsers cannot interpret CSS3. - 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.
,3|Page
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. - 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 - 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 -
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 - ANSWER-Padding
, 4|Page
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 - 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 - 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. - ANSWER-The rule will be
ignored.
What is a CSS selector?
A) The property in a markup tag to which designated styles are applied