Web Programming Midterm
When creating a closing tag the opening angle bracket is followed by a(n) ____. a. ? (question mark) b. ! (exclamation point) c. # (number symbol) d. / (slash)
/ (slash)
How many DOCTYPE's does HTML utilize? 1 2 3 4
1
In the figure above, item ____ points to an attribute value. a. 1 b. 2 c. 3 d. 4
4
To create a link, you enclose the text or other element within an a element using the ____ tag pair. a. <end></end> b. <close></close> c. <b></b> d. <a></a>
<a></a>
Identify a code used to create submit controls. a. <input type:"submit" value:"Submit"> b. <input type=submit value=Submit> c. <input type:submit value:Submit> d. <input type="submit" value="Submit">
<input type="submit" value="Submit">
Mark is a fitness trainer and uses a webpage that maintains his list of client information and training schedules. Mark's webpage maintenance in charge, Jenny, has been asked to use tables instead of bulleted lists to keep track of all the data in an organized and clear manner. Identify the format used by Jenny to insert a table along with a caption element that reads "Mark's Fitness Schedule". a. <table/> <caption>Mark's Fitness Schedule</caption> . . . b. <table> <caption/>Mark's Fitness Schedule . . . c. <table> <caption>Mark's Fitness Sched-ule</caption> . . . d. <tcaption>Mark's Fitness Schedule</tcaption> . . .
<table> <caption>Mark's Fitness Sched-ule</caption> . . .
Which of the following s not used when comprising a CSS statement? a HTML element name a position a property a value
A position
Which of the following is a common cause for an element to appear different than expected? a. Missing tags around the content b. Opening tag missing c. Wrong tags used to close the element d. All of the above.
All of the Above
Which of the following scenarios could constitute copyright infringement? using screen-capture software to pull photographs from a web site to use on your own site or blog using a file-sharing network to download unauthorized copies of music or movies for free copying text or images from a web site or blog and using it as your own all of the above
All of the Above
An attribute is placed within ________ . a. the body section b. an opening element tag c. the head section d. a closing element tag
An opening element tag
By convention, an unclicked link is ____. a. purple b. red c. yellow d. blue
Blue
Referring to the figure above, a(n) ____ is displayed around each cell. a. frame b. border c. etching d. background
Border
Errors listed in the validator always include the ______ . a. line number b. character number c. Both A and B. d. Neither A nor B.
Both A and B
Referring to the figure above, the header cell content in the "Period" column is ____. a. centered b. displayed in bold c. Both A and B. d. Neither A nor B.
Both A and B
The ____ is located within the html tag pair. a. head tag pair b. body tag pair c. Both A and B. d. Neither A nor B.
Both A and B
The display of web pages in HTML5 starts with the standards created by the W3C. The standards list and describe ____. a. all the available elements b. the parameters for how user agents should use available elements c. Both A and B. d. Neither A nor B.
Both A and B
In the figure above, the head element is ____. a. a child of the html element b. the parent of the meta element c. Both A and B. d. Neither A nor B.
Both A and B
The number on rule for considering colors and fonts for your site is _____________. style contrast consistency none of the above
Consistency
__________ protect original "works of authorship," providing authors with exclusive rights to publish, produce, reproduce, and sell their work. Copyrights Patents Trademarks Service marks
Copyrights
<!DOCTYPE html> creates an element known as the DOCTYPE ____, which lets user agents know that the document contents are written in HTML. a. announcement b. setting c. declaration d. property
Declaration
One helpful tool to test your site on various devices/platforms is a(n) _______________. emulator development environment compiler all of the above
Emulator
JavaScript is used to add styling to HTML pages.
FALSE
A common font that is used in web sites is Times New Roman because it does not have any adornment. True False
False
A user input form is used to provide information to website visitors. True False
False
All the li elements for a list are nested within the opening and closing dl tags. _________________________ True False
False
CSS2 is the most recently adopted CSS update by the W3C. True False
False
Formal testing is typically done by the person who coded the application. True False
False
HTML5 introduced synthetic tags which provide meaning to tag names. True False
False
It is important to identify your focus audience to help dictate various design elements of your site. True False
False
Like span elements, img elements are embedded elements by default. True False
False
Meta elements added to the html element generally do not change the accessibility of the document. _________________________ True False
False
Once a page is created, it will look the same across all types of devices with little to no discernible differences. True False
False
Unlike dl and ul, ol does not use the li element to specify list items. True False
False
Validation tools do not provide feedback if errors are detected on your site, but only state if the site is valid or not. True False
False
When using HTML table structuring elements, tc indicates content of a standard table cell True False
False
Tags may be closed out of order in _____ . a. HTML b. XHTML c. Both A and B. d. Neither A nor B.
HTML
Referring to the figure above, a table row consists of a ____ series of cells tat are grouped in a tr element. a. vertical b. horizontal c. Both A and B. d. Neither A nor B.
Horizontal
HTML stands for
Hypertext Markup Language
The first step to building a web site is to _____________. Functionality Test Identify Purpose Choose a Web Language Design a mockup
Identify Purpose
Which of the following would NOT be considered IP? Books Logos Fabric Design Ingredient Lists
Ingredient Lists
When relating to copyrights and trademarks, the acronym IP stands for ______________. Internet Protocol Intellectual Property Intermittent Priority none of the above
Intellectual Property
Both the head and body tag pairs are located within the html tag pair. This situation is known as ____. a. pairing b. joining c. tagging d. nesting
NESTING
CSS stands for ____________. Colored Style Sheets Cascading Style Sites Cascading Source Sheets none of the above
None of the Above
In the figure above, item #4 shows a(n) ____ tag. a. opening b. comment c. closing d. preview
Opening
By convention, a link to a web page or document that a user has already viewed is ____. a. yellow b. purple c. red d. blue
Purple
A _____ limits the webpage visitor to only one choice from a list of choices. a. checkbox control b. select control c. textarea control d. radio control
Radio Control
By convention, a link that a user is in the process of clicking is ____. a. blue b. red c. yellow d. purple
Red
JavaScript must be inserted between open and closing _________ tags. java script code none of the above
Script
A _____ creates an option menu from which a visitor makes one or more choices. a. reset control b. textarea control c. radio control d. select control
Select Control
SDLC stands for ____________________________________. Software Design Life Cycle Site Development Life Cycle Software Development Life Cycle none of the above
Software Development Life Cycle
The ___________ process consists of creating an overall web page template as well as a site hierarchy diagram. brain-storming planning design storyboard
Storyboard
A _____ sends the form information to the appropriate location for processing. a. Select button b. Radio button c. Reset button d. Submit button
Submit Button
JavaScript can be located in the body or head section of a web page.
TRUE
You add an image to an HTML document using the one-sided img element.
TRUE
You can create a link on any text on a web page. True False
TRUE
You use the href attribute to specify the name of the web page or other document to link to, which is known as the ____ document. a. source b. default c. target d. recipient
Target
___________ are identifiers of goods or products and their trade origin. Copyrights Patents Trademarks Service marks
Trademarks
Each choice has a radio button, or option button, which typically appears as an open circle. True False
True
Fonts are typically categorized as either Serif or Sans Serif. True False
True
HTML enables you to create a list in which the order of list items doesn't matter. True False
True
It's easy to nest lists in HTML: you simply insert valid code for a list within the content of an li element.. True False
True
The W3C is an organization that helps build consensus around changes and additions to the HTML language. True False
True
The first step of the SDLC is always analysis. True False
True
The h1 element represents the highest-level heading on the page._________________________ True False
True
To set a particular check box to be preselected as the default, the checked attribute and value should be used within the <input> tag. True False
True
Validation tools help to ensure that the syntax of our web site is correctly written and structured. True False
True
XHTML is similar to HTML but it needs additional code in some situations, such as closing one-sided tags. True False
True
You add an image to a web page by linking to a separate file. True False
True
You can add the appropriate HTML tags to specify the element type for each text item on a web page. _________________________ True False
True
W3C stands for ______________________________. World Wide Web Consortium World Wide Web Community World Wide Web Center World Wide Web Company
World Wide Web Consortium
Which of the following is NOT an example of fair use? Replicating a fabric design in an illustration in an academic article on 18th century weaving methods Writing a newspaper article about the president's State of the Union Address, quoting what was said Writing a book about a new type of networking design and replicating a chapter from a colleague's own book Quoting a company's mission statement in an editorial article about modern business ethics
Writing a book about a new type of networking design and replicating a chapter from a colleague's own book
One-sided tags must be closed in _____ . a. HTML b. XHTML c. Both A and B. d. Neither A nor B.
XHTML
Tags must be written in lower case in _____ . a. HTML b. XHTML c. Both A and B. d. Neither A nor B.
XHTML
In the figure above, item #3 shows a(n) ____ tag. a. opening b. preview c. closing d. comment
closing
The ____ element marks content that appears at the start of a document. a. header b. section c. article d. footer
header
In the figure above, item #2 shows a(n) ____. a. html tag pair b. two-sided codes c. html code pair d. two-sided pairs
html tag pair
To nest lists in HTML, you insert valid code for a list within the content of a(n) ____ element. a. dl b. il c. ld d. li
li
A link that creates a new email to a specified recipient starts with ______. a. textto: b. sendto: c. directto: d. mailto:
mailto:
Which of the following does NOT qualify a work for copyright? must be marketable must be original must be tangible must be creative
must be marketable
You use the HTML ____ element to create a list in which items are numbered or lettered sequentially. a. ul b. dl c. nl d. ol
ol
To create a textarea control, one needs to use the _____ instead of the input element. a. output element b. textarea element c. control element d. label element
textarea element
When creating a table in HTML, ____ marks the content of a header cell. a. uh b. td c. th d. ud
th
When creating a table in HTML, ____ groups cells into rows. a. ur b. tr c. ud d. td
tr
When you want to check your written code against current HTML coding standards, you should _____ it. a. test b. validate c. debug d. post
validate
Identify a code that creates a label and a text box for a visitor's first name. a. <label/> for="fName">First Name:<id> <input type="text" id="fName"> b. <label_id_for="fName">First Name:</label_id_for> <input type="text" name="fName" id="fName"> c. <label for="fName">First Name:</label> <input type="text" name="fName" id="fName"> d. <label/> for="fName">First Name <input type="text" name="fName" id="fName">
<label for="fName">First Name:</label> <input type="text" name="fName" id="fName">