NDSU Comm 260 Midterm Exam Questions and Answers
When you use an external style sheet with an HTML document, you get all but one of the benefits that follow. Which one is it? - Answer-Your CSS files are easy to create and maintain
To provide the top-level formatting for a page, a style sheet co...
NDSU Comm 260 Midterm
Exam Questions and
Answers
When you use an external style sheet with an HTML document, you get all but one of
the benefits that follow. Which one is it? - Answer-Your CSS files are easy to create and
maintain
To provide the top-level formatting for a page, a style sheet commonly formats -
Answer-body and HTML5 semantic elements
To include a CSS file in an HTML document, you use the _______________________
element. - Answer-link
Times New Roman is a font ____________________________. - Answer-family
To include styles in an HTML document, you can use an external style sheet, an
embedded style sheet or ____________________________ attributes on inline HTML
elements. - Answer-style
Which of the following is a valid selector for a class named menu? - Answer-menu
You can use ems or percentages to specify a _______________________ unit of
measurement. - Answer-relative
In the rule set that follows, the selector applies to all elements that have "red" as their
____________________________ name. .red { color: red; } - Answer-class
Which of the following selectors is most specific? - Answer-#nav
If two CSS rules conflict, which of the following rules overrides the other rule? - Answer-
the rule marked as !important in a web page
Every paragraph must begin with this tag: - Answer-<p>
The <a> element that follows goes to a web page
"<a href="books/javscript.html">JavaScript and DOM Scripting</a>" - Answer-in a folder
that is subordinate to the current page
, When the code that follows is loaded into the browser, it "<h2>About this book</h2>" -
Answer-displays "About this book" in the default h2 format
The img element that follows
<p><img src="../images/logo.gif" alt="Murach Logo"></p> - Answer-displays "Murach
Logo" if the image can't be found
The title element in the head section of an HTML document specifies the text - Answer-
that's displayed in the browser's tab for the page
By default, the <br> tag - Answer-starts a new line of text
What character entity is created by the character? - Answer-a space
The <a> element that follows <a href="update.html">Update</a> - Answer-displays
"Update" as a link
When naming your Web page files (html files) you can use all of the following
characters in the filename EXCEPT: - Answer-spaces
Which of the following should you do to provide accessibility to img elements with useful
content? - Answer-Code an alt attribute that describes the image
A valid HTML document requires - Answer-a head element and a body element
An HTTP response is sent from - Answer-the web server to the client
A __________________ web page is one that doesn't change. - Answer-static
In the code that follows margin: 0 auto; the auto keyword means - Answer-to center the
element horizontally within the containing block
The code that follows "border-style: solid none;" means that the box should have -
Answer-solid top and bottom borders
The code that follows "padding: .5em 0 .25em;" applies this padding to an element: -
Answer-.5em above, 0 left and right, and .25em below
To calculate the height of a box when using the box model, you add the height of the
content area to the sum of the heights of the - Answer-top and bottom borders, and top
and bottom padding
When you set a border for a block element, you can set the color, style, and
_____________________________. - Answer-width
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Scholarsstudyguide. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.99. You're not tied to anything after your purchase.