Programming and Web Design: Final
The ____ is used to place a nonbreaking space on a web page
 
Which of the following uses CSS to configure a class called news with red text, large font, and Arial or a san-serif font?
.news { color: red; font-size: large; font-family: Arial, sans-serif; }
A file that contains a flash animation uses the ___ file extension
.swf
List at least two reasons not to use audio or video on a webpage.
1. Large file size equals longer download 2. Uneven support of browser plug-in 3. Time talent 4. Software required to create audio/video content
Which of the following can be a CSS selector?
1. an HTML element name 2. a class name 3. an id name
Which of the following is a reason that the text contained by the title tag should be descriptive and include the name of the business or organization?
1. the titles is saved by default when visitor bookmarks a web page 2. the title may be printed when a visitor prints a web page 3. the title may be listed in search engine results
CSS was first proposed as standard by the W3C in ____.
1996
Which pseudo-element can be used to generate contact that precedes an element?
:before
Which CSS psuedo-class applies to the first element of a specified type?
:first-of-type
How would you link to the named fragment #jobs on the page employ.html from the homepage of the site?
<a href="employ.html#jobs">Jobs</a>
Which code provides a hyperlink to an audio file called hello.mp3?
<a href="hello.mp3">Hello (Audio File)</a>
Which of the following creates an image link to the index.html page when the home.gif graphic is clicked?
<a href="index.html"><img src="home.gif" alt="Home"></a>
Which tag is used to link web pages to each other?
<a> tag
Which tag configures the next element or portion of text to display on a new line?
<br>
Which tag pair configures a structural area on a web page?
<div> </div>
Which tag pair is used to create the largest heading?
<h1> </h1>
Which HTML tag configures a horizontal line on a web page?
<hr>
Which of the following associates a webpage with an external style sheet?
<link rel="stylesheet" href="style.css">
Which HTML element uses a border attribute to display a table with a border?
<table>
Which HTML tag pair is used to group rows in the footer of a table?
<tfoot> </tfoot>
Which HTML tag pair is used to specify table headings?
<th> </th>
Which HTML tag Pair is used to begin and end table row?
<tr> </tr>
Which of the following attributes define a fragment identifier on a page? A. id B. href C. fragment D. bookmark
A. id
An ____ is a protocol that allows software components to communicate- Interacting and sharing data.
Application programming interface (API)
Which of the following is a mobile design best practice? A. Configure a multiple-column page layout B. Avoid using lists to organize information C. Configure a single - column page layout D. In bed text and images wherever possible
C. Configure a single - column page layout
Describe a type of copyright license that empowers the artist/author to grant some, but not all, rights for using their work.
Creative Commons: let's the author/artist dictate how others can use their work; informs others exactly what they can and cannot do with the creative work
The ____ Defines every object and element on a webpage.
Document object model (DOM)
True/False: a domain name that ends in .net indicated that the website is for a networking company
False
True/False: the World Wide Web was developed to allow companies to conduct e-commerce over the Internet
False
_______ is the set of markup symbols or codes placed in a file intended for display on a web browser
HTML
The newest version of HTML is called ______
HTML5
Where do you place the code to associate a web page with an external style sheet?
In the head section of the web page document
Which of the following can describe Ajax? A. It is an object-based scripting language B. It is the same as web 2.0 C. It is a web development technique for creating interactive web applications D. It is an obsolete technology
It is a web development technique for creating interactive web applications
Explain why it is a good practice to place the email address on the web page and within the anchor tag when creating an email link.
It is good practice to place the e-mail address both on the web page and within the anchor tag. Not everyone has an e-mail program configured with his or her browser. By placing the e-mail address in both places, you increase usability for all visitors
Which of the following statements is true about Java Applets?
Java Applet are contained in files with the .class extension
When displaying a Java applet, the browser invokes the ____ to interpret the bytecode into the appropriate machine language.
Java Virtual Machine (JVM)
Which of the following statements is true about JavaScript? A. JavaScript is an object-based scripting language B. JavaScript is an easy form of Java C. JavaScript was created by Microsoft D. JavaScript is an obsolete technology
JavaScript is an object-based scripting language
Which of the following is network that covers a small area, such as a group of buildings or campus? a. LAN b. WAN c. Internet d. WWW
LAN
What is the default alignment for elements on a web page?
Left
_____ determine the capability of the mobile device, such as browser viewport dimensions and resolution.
Media queries
Frequently communicating by posting brief messages at a social networking site is called ______
Microblogging
The concept of ____ relates to providing a single resource that is configured for optimal display on multiple types of devices.
One Web
When using CSS media queries, code the ____ keyword to hide the quarry from older non-supporting browsers.
Only
Which type of HTML list will automatically number the items for you?
Ordered list
Which of the following is intended use of tables on webpages? A. Configuring the layout of an entire page B. Organizing information C. Forming hyperlinks D. Configuring a résumé
Organizing information
When configured with object and param elements, the browser uses of ____ to play media such as audio and video files.
Plug-in
Use the _____ attribute to configure a table cell to occupy more than one row in the table
Row span
A standard language used for specifying a markup language or tag set is ______.
SGML
Use the ____ element to associate JavaScript with a webpage
Script
The ____ element is useful for creating areas on a web page that are embedded within paragraphs or other block display elements
Span
____ can be used to display characters such as the copyright symbol
Special Characters
Which of the following is an image file that contains multiple small graphics?
Sprite
Use the _____ element to configure text to have strong importance and display in a bold font weight
Strong
Which of the following should you do to provide for usability and assessability? A. Use video and sound whenever possible B. Supply text descriptions of audio and video files that appear on your webpages C. Never use audio and video files D. None of the above
Supply text descriptions of audio and video files that appear on your webpage
The purpose of ____ is to ensure the integrity of network communication
TCP
What happens when a browser does not support the video or audio element?
The fallback content, if it exists, will display.
Which of the following is an open-source video codec?
Theora
Why should you include height and width attributes on a <img> tag?
They help the browser render the page faster because it reserves the appropriate space for the image
Which property provides a way for you to rotate, scale, skew, or move an element?
Transform
True/False: A URL is one type of URI
True
True/False: Markup languages contain sets of directions that tell the browser software how to display and manage a web document.
True
_______ combines the formatting strengths of HTML 4.0 and the data structure and extensibility strengths of XML.
XHTML
Which of the following organizations takes a proactive role in developing recommendations and prototype technologies related to the Web?
a
Which of the following describes two components of CSS rules?
a. selectors and declarations
Which attribute specifies text that is available to browsers and other user agents that do not support graphics?
alt
What type of files are .wav, .aiff, .mid, and .au?
audio files
What is a unique text-based Internet address corresponding to a computer's unique numeric IP address called?
b
Which of the following is the CSS property used to set the background color of a web page?
b. background-color
Which type of CSS is coded in the body of the web page as an attribute of an HTML tag?
b. inline
What does an e-mail link do?
b. launches the default e-mail application for the visitor's browser, with you email address as the recipient
Which of the following is an HTML5 element used to indicate navigational content?
b. nav
Which CSS property configures background color?
background-color
Which CSS property specifies the background color of a table?
background-color
Which of the following configures a background color of #FFF8DC for a webpage using CSS?
body { background-color: #FFF8DC;}
The CSS _____ property can be used to configure the color and width of a table border.
border
Which CSS property eliminates the space between the borders on the table cells?
border-spacing
Of the following organizations, which one coordinates applications for new TLDs?
c.
Which of the following is true if a web page contains both a link to an external style sheet and embedded styles?
c. external styles will be applied first, and then the embedded styles will be applied
Which of the following is the declaration property used to set the font typeface for an area of a webpage?
c. font-family
When do you need to use a fully qualified URL in a hyperlink?
c. when linking to a web page on an external site
Use the _____ element to provide a brief description of a table that displays on the web page
caption
Select the item below that indicated the top-level domain name for the URL http://www.mozilla.com/ a. mozilla b. com c. http d. www
com
The <meta> tag can be used to ______
describe a characteristic of a webpage, such as the character encoding
Which of the following causes an element not to display?
display: none;
Use the _____ element to configure text to be emphasized and displayed in an italic font style
em
Which of the following font units is recommended for mobile display?
em unit
Use of a copyrighted work for purposes such as criticism, reporting, teaching, scholarship, or research is called ___
fair use
___ Is an emerging page layout technique for configuring multi-column layouts
flexible box layout or flexbox
Which HTML attribute associates a table data cell with a table header cell?
headers
_____ is an attribute of the td element that associates the table data cell with a table header cell
headers
Which of the following do you configure to apply a style to only one area on a web page?
id
Which of the following is an attribute used to indicate whether the stylesheet is for printing or screen display?
media
Provide ____ navigation near the top of the page when optimizing for mobile display.
minimal
Which CSS property specifies the distance between the cell text and the cell border?
padding
Which attribute can be applied to an anchor tag to open a link in a new browser window?
target
The ___ CSS property can be used to center text within a block display element
text-align
The _____ CSS property can be used to indent the first line of text.
text-indent
The _____ CSS property specifies the vertical alignment of the contents of a cell in a table
vertical-align
The file extensions .webm, .ogv, and .m4v Indicate types of ___ files
video
Which meta-tag is used to configure display for mobile devices?
viewport