WGU C777 - WEB DEVELOPMENT APPLICATIONS
PA AND OA EXAM | FREQUENTLY TESTED
QUESTIONS WITH CORRECT ANSWERS | BRAND
NEW!
Which of the following would be the best method to use for
floating images to the left and right of text in HTML5?
A) The height attribute of the <img> element
B) The width attribute of the <img> element
C) CSS classes
D) The inline CSS style attribute - Answers CSS classes
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) Thesidebar will appear at the top-right side of the
document. - Answers The sidebar will always appear 165
pixels wide and 662 pixels high.
How do you embed CSS in a single Web page as an internal
style sheet?
A) Add the <style> attribute directly to the element tag
,Page 2 of 166
to which you want to apply the style.
B) Add the <link> element to the <head> section of your HTML
file.
C) Add the <style> element to the <head> section of your HTML
file.
D) Add the <style> element to the <DOCTYPE> of your HTML
file. - Answers Add the <style> element to the <head> section
of your HTML file.
,Page 3 of 166
You can link an HTML file to an external style sheet using
the HTML <link> element. Which of the following attributes
specifies the location of the linked document?
A) The type attribute
B) The rel attribute
C) The href attribute
D) The src attribute - Answers The href attribute
If you use CSS to specify a particular font, what occurs
when you try to view a Web page on a system in which the
font is not available?
A) Thebrowser will display the content to which the font
is applied in a default font face.
B) The browser will not allow you to open the HTML page
until you specify the browser's default font in the CSS
document.
C) The browser will automatically download the font
face from the W3C font repository.
D) Thebrowser will render invisible the content to which
the font is applied. - Answers The browser will display the
content to which the font is applied in a default font face.
Why is implementing the liquid layout using CSS the preferred
method of
designing Web pages for mobile devices?
, Page 4 of 166
A) Because the size of each element is fixed and you can
manually change its height and width by applying CSS
styles to it
B) Becausethe liquid layout using CSS is the page-layout
method native to all mobile apps
C) Because the liquid layout enables you to assign
specific pixel widths to elements using the HTML5
structural elements or the <div> tag
D) Because the size of each element is flexible and will
change dynamically depending on the size of the browser
window - Answers Because the size of each element is
flexible and will change dynamically depending on the size
of the browser window
Remy Sharp has created a script that has become the de
facto standard for many Web developers around the world.
The script enables Web developers to:
A) use CSS1 and CSS2 with HTML5.
B) support HTML5 in Chrome browsers.
C) support HTML5 in Firefox browsers.
D) support
HTML5 in older IE browsers. - Answers support
HTML5 in older IE browsers.
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