Question 1: A W3C Recommendation is the same thing as a W3C Standard.
Correct answer: True
Explanation: The name is a bit confusing but yes, a W3C Recommendation is a standard.
Correct answer: <li>Take my <a href="quizDesign.html">Web Design quiz</a></li>
Explanation: This article might help to clarify things
Correct answer: Matches any span element that is a descendant of an element p.
Explanation: p > span would have matched span children and p, span would have matched p and span.
Correct answer: td
Explanation: td is a table cell, and it is nested in tr, a table row.
Correct answer: True
Explanation: And you usually have to style it if you're using XHTML.
Correct answer: All of the above are too great a risk to be used.
Explanation: They might work for a while, but in the end your entire site could be removed from Google.
<div>
<h1>Title</h1>
<p>Paragraph.</p>
</div>Correct answer: No
Explanation: It won't, because h1 is the first child.
Correct answer: Collapses whitespace and does not break lines
Explanation: The key here was to understand what 'collapse whitespace' means. For example, when in the HTML source you have ten spaces between two words, yet the browser displays a single space, that's collapsing whitespace.
Correct answer: No
Explanation: An element with visibility: hidden; still affects the layout, it does not disappear completely.
Correct answer: <em> has a meaning, whereas <i> is just presentational and has no meaning
Explanation: That's why <i> has been deprecated in XHTML 2.0.
Correct answer: Tim Berners-Lee
Explanation: Tim Berners-Lee in 1989 (this is talking about the World Wide Web, which is built on top of the internet. The internet itself is much older than that).
Correct answer: An element that causes line breaks
Explanation: You had better answered this right, or you'll find all sorts of strange 'bugs' in your stylesheets.
Correct answer: '
Explanation: It's an apostrophe...
Correct answer: Bad because visitors are looking for information and will be distracted by a lot of moving things
Explanation: When people visit your page, they're not there to marvel at your design skills, but to find the information they're looking for.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<h1>Page title</h1>
<p>A paragraph.</p>
</body>
</html>Correct answer: No
Explanation: It doesn't have a title element.
Correct answer: #000 / #FFF
Explanation: Black text on white background is the best choice. A dark background is bad because it reflects objects in the room.
Correct answer: JPG
Explanation: A JPG should be used for large pictures because it's smaller than a GIF or a PNG. GIF and PNG work best for graphics.
Correct answer: WAI A, WAI AA, WAI AAA
Explanation: Web Accessibility Initiative. The letters A, AA or AAA are the level of conformance.
Correct answer: The page will reload
Explanation: It will open the same page with a GET parameter (it's just a very strange choice of name for one and it doesn't have a value).
Correct answer: XForms preserves existing HTML form elements and attributes, but ads more of them
Explanation: While this statement is somewhat true with respect to elements, it is certainly false when it comes to attributes, XForms doesn't preserve existing HTML attributes.
Correct answer: Yes
Explanation: Yes it is valid. It's the same as span { padding: 0 12px 0 12px; }.
Correct answer: Bad idea
Explanation: A table is for tabular data. An entire webpage is not tabular data and it's easier and more maintainable to use pure CSS.
Correct answer: All of the above require alt text for images
Explanation: And you should always use it, even if you leave it empty for non-important images like graphics.
Correct answer: All of the above will work as intended
Explanation: The order the standard specifies is option number 3: background-color | background-image | background-repeat | background-attachment | background-position. It's good to use this order for clarity, but the code will work irrespective of the order of the values. So the correct answer is "all of the above".
Correct answer: None of the above
Explanation: style is the correct answer and it was not among the options.






0 comments:
Post a Comment