CIW Site Development Associate
Practice Test 3 Rated A+ (Verified)
Acme Company has been receiving complaints from its suppliers saying that its extranet
site does not render correctly in all their employees' browsers. The suppliers are asking
that the extra net site be fixed so that everyone can access it, regardless of browser
type. When examining this problem, the Acme Web Development team finds that many
developers worked on the site and each used code that he or she was comfortable with.
To resolve this problem, what can the Acme developers do? - ANSWER-Edit the code
so that it conforms to a single W3C HTML standard.
Aisha is coding a Web site using a GUI HTML editor. She wants to quickly check her
code for
errors and compliance with HTML standards as she works. How can she best
accomplish this? - ANSWER-Validate the code using the GUI validator.
Clyde is working on a web page for his company's intranet. He wants to insert an HTML
comment within the page to let other developers know that the page validates as
HTML5 and that he is the page author. Which line of code will insert the comment that
Clyde requires? - ANSWER-<!--Clyde Davis, 9/17/2012. This code validates to HTML5--
>
Consider the following Cascading Style Sheets (CSS) rule: body {background-
color:lightblue;} Which is the "selector" portion of this rule? - ANSWER-The portion that
reads "body"
Consider the following HTML code:
<blockquote>
The Summer Youth Build allows students to help others while having fun on the job.
<img src="syb/syb.png" alt="Join a summer build!" style="float:right"/>
</blockquote>
Where on the page will the image appear? - ANSWER-To the right of the text
Consider the following HTML5 code:
<!--NAVIGATIONAL SIDEBAR -->
<nav>
<img height="129" src="syb/SYBSumReptCV.jpg" width="100" alt = "link to a
PDF file. Go to www.adobe.com to download Adobe Reader" />
<br/>
<br/>SYB
<br/>Summary Report
</nav>
Also consider the following CSS code:
, nav
{
float:left;
width:165px;
background:#fc3 url(navbg_04.gif) repeat-y top right;
height :662px;
}
this HTML5 and CSS code directs the sidebar background image to: - ANSWER-display
at the top-right of the sidebar
Consider the following HTML5 code:
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Favorite Quotes</title>
<link rel="stylesheet" href="css/styles.css"/>
</head>
<body/>
<p> This Web site is devoted to my favorite quotes. These iconic quotes have been
used time and again but will never lose their appeal. </p>
<p> Hamlet, from his soliloquy in William Shakespeare's play "Hamlet" </p>
<blockquote> "To be or not to be, that is the question." </blockquote>
</html>
The code does not validate as HTML5. Why? - ANSWER-The <body> tag is not
properly closed.
Consider the following HTML5 code:
<!DOCTYPE.html>
<html lang="en">
<head>
<title< My Favorite Movie Quotes</title>
<link rel="stylesheet" href="css/styles.css"/>
</head>
<body>
<p> This Web site is devoted to my favorite movie quotes. These iconic movie quotes
have been used time and again but will never lose their appeal. </p>
<p> Captain (Strother Martin) in Cool Hand Luke (1967)
<blockquote> "What we've got here...is a failure to communicate." </blockquote>
</p>
</body>
</html>
Practice Test 3 Rated A+ (Verified)
Acme Company has been receiving complaints from its suppliers saying that its extranet
site does not render correctly in all their employees' browsers. The suppliers are asking
that the extra net site be fixed so that everyone can access it, regardless of browser
type. When examining this problem, the Acme Web Development team finds that many
developers worked on the site and each used code that he or she was comfortable with.
To resolve this problem, what can the Acme developers do? - ANSWER-Edit the code
so that it conforms to a single W3C HTML standard.
Aisha is coding a Web site using a GUI HTML editor. She wants to quickly check her
code for
errors and compliance with HTML standards as she works. How can she best
accomplish this? - ANSWER-Validate the code using the GUI validator.
Clyde is working on a web page for his company's intranet. He wants to insert an HTML
comment within the page to let other developers know that the page validates as
HTML5 and that he is the page author. Which line of code will insert the comment that
Clyde requires? - ANSWER-<!--Clyde Davis, 9/17/2012. This code validates to HTML5--
>
Consider the following Cascading Style Sheets (CSS) rule: body {background-
color:lightblue;} Which is the "selector" portion of this rule? - ANSWER-The portion that
reads "body"
Consider the following HTML code:
<blockquote>
The Summer Youth Build allows students to help others while having fun on the job.
<img src="syb/syb.png" alt="Join a summer build!" style="float:right"/>
</blockquote>
Where on the page will the image appear? - ANSWER-To the right of the text
Consider the following HTML5 code:
<!--NAVIGATIONAL SIDEBAR -->
<nav>
<img height="129" src="syb/SYBSumReptCV.jpg" width="100" alt = "link to a
PDF file. Go to www.adobe.com to download Adobe Reader" />
<br/>
<br/>SYB
<br/>Summary Report
</nav>
Also consider the following CSS code:
, nav
{
float:left;
width:165px;
background:#fc3 url(navbg_04.gif) repeat-y top right;
height :662px;
}
this HTML5 and CSS code directs the sidebar background image to: - ANSWER-display
at the top-right of the sidebar
Consider the following HTML5 code:
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Favorite Quotes</title>
<link rel="stylesheet" href="css/styles.css"/>
</head>
<body/>
<p> This Web site is devoted to my favorite quotes. These iconic quotes have been
used time and again but will never lose their appeal. </p>
<p> Hamlet, from his soliloquy in William Shakespeare's play "Hamlet" </p>
<blockquote> "To be or not to be, that is the question." </blockquote>
</html>
The code does not validate as HTML5. Why? - ANSWER-The <body> tag is not
properly closed.
Consider the following HTML5 code:
<!DOCTYPE.html>
<html lang="en">
<head>
<title< My Favorite Movie Quotes</title>
<link rel="stylesheet" href="css/styles.css"/>
</head>
<body>
<p> This Web site is devoted to my favorite movie quotes. These iconic movie quotes
have been used time and again but will never lose their appeal. </p>
<p> Captain (Strother Martin) in Cool Hand Luke (1967)
<blockquote> "What we've got here...is a failure to communicate." </blockquote>
</p>
</body>
</html>