C779 PA Exam Questions and Correct Answers
An organization has users which run older versions of Internet Explorer. Which action should be
done to ensure that that web page content is visible in all browsers?
A)Add Visual Studio code to HTML documents and create a new CSS rule.
B)Add JavaScript code to HTML documents and create a new CSS rule.
C)Place buttons on the page to enable visitors to open the page in Microsoft Edge.
D)Place buttons on the page to enable visitors to access the Microsoft Edge download site. -
ANS B) Add JavaScript code to HTML documents and create a new CSS rule
What happens when a site visitor views a web page that uses a font unavailable on the visitor's
computer?
A)The site elements using that font will fail to display.
B)The browser's default font will be displayed.
C)An error message about the font will be displayed.
D)The site will display a button to download the needed font. - ANS B) The browser's default
font will be displayed.
Which two methods are used to apply Cascading Style Sheets (CSS)?Choose 2 answers.
Embedding an external style sheet in an HTML page
Linking an HTML page to an internal style sheet
Embedding an internal style sheet in an HTML page
Linking an HTML page to an external style sheet
Declaring an inline HTML style sheet attribute in an HTML element - ANS Embedding an internal
style sheet in an HTML page & Linking an HTML page to an external style.
Which value of the opacity property in CSS3, represents completely opaque? - ANS 1.00
Which directive overrides normal cascading in CSS? - ANS !Important
, What are Syntactically Awesome Style Sheets (SASS) used for with regard to adding
functionality? - ANS As a CSS extension language for preprocessing
Given the following CSS:
p{color: red;}
p{color: yellow;}
p{color: green;}
p{color: purple;}
Which color is used when text in the referenced paragraph displays? - ANS Purple
Given the following markup and code:
<nav id="basenav"> green or black </nav>
#basenav { color: red;}
nav { color: blue;}
Which color will the navigation element be? - ANS Red
Which code block should be used to set the background image for a web page? - ANS body{
background-image: url('paper.gif')}
Which HTML tag is used to display text exactly as it is defined in the HTML markup? - ANS Pre
Which CSS state selectors show uninspected HREFs in red? - ANS a:link { color:red; }
Which type of address does the hyperlink ../about/map.html point towards? - ANS Relative
Uniform Resource Locator (URL)
Which attribute is used with the <img> tag to display text if the image fails to load? - ANS alt
An organization has users which run older versions of Internet Explorer. Which action should be
done to ensure that that web page content is visible in all browsers?
A)Add Visual Studio code to HTML documents and create a new CSS rule.
B)Add JavaScript code to HTML documents and create a new CSS rule.
C)Place buttons on the page to enable visitors to open the page in Microsoft Edge.
D)Place buttons on the page to enable visitors to access the Microsoft Edge download site. -
ANS B) Add JavaScript code to HTML documents and create a new CSS rule
What happens when a site visitor views a web page that uses a font unavailable on the visitor's
computer?
A)The site elements using that font will fail to display.
B)The browser's default font will be displayed.
C)An error message about the font will be displayed.
D)The site will display a button to download the needed font. - ANS B) The browser's default
font will be displayed.
Which two methods are used to apply Cascading Style Sheets (CSS)?Choose 2 answers.
Embedding an external style sheet in an HTML page
Linking an HTML page to an internal style sheet
Embedding an internal style sheet in an HTML page
Linking an HTML page to an external style sheet
Declaring an inline HTML style sheet attribute in an HTML element - ANS Embedding an internal
style sheet in an HTML page & Linking an HTML page to an external style.
Which value of the opacity property in CSS3, represents completely opaque? - ANS 1.00
Which directive overrides normal cascading in CSS? - ANS !Important
, What are Syntactically Awesome Style Sheets (SASS) used for with regard to adding
functionality? - ANS As a CSS extension language for preprocessing
Given the following CSS:
p{color: red;}
p{color: yellow;}
p{color: green;}
p{color: purple;}
Which color is used when text in the referenced paragraph displays? - ANS Purple
Given the following markup and code:
<nav id="basenav"> green or black </nav>
#basenav { color: red;}
nav { color: blue;}
Which color will the navigation element be? - ANS Red
Which code block should be used to set the background image for a web page? - ANS body{
background-image: url('paper.gif')}
Which HTML tag is used to display text exactly as it is defined in the HTML markup? - ANS Pre
Which CSS state selectors show uninspected HREFs in red? - ANS a:link { color:red; }
Which type of address does the hyperlink ../about/map.html point towards? - ANS Relative
Uniform Resource Locator (URL)
Which attribute is used with the <img> tag to display text if the image fails to load? - ANS alt