Certification Exam
Good coding practice requires you to use
Container tags
What is the relationship between hot spot coordinates and the pixel size of an image?
Coordinates are dependent upon the pixel size of an image; if an image is resized, you must change the coordinates.
Which attribute should you use with the <img> tag to specify the text to display if a user has configured his or her browser not to display images?
The alt attribute
When you are ready to publish your Web site files to your Web host, which choice lists all the information you must specify in order to publish your files?
The destination server's name or IP address, authentication information, and the file location on the remote server
A non-interlaced image format is read from:
top and bottom
What kind of Web site contains photographs that are copyrighted to the photographer from whom you must obtain permission to use the images?
A photo-sharing website
To work with the Document Object Model (DOM) for any browser, you need to use:
A scripting languge
The <video> element supports which three formats?
MP4, WebM and Ogg
Which of the following is the de facto standard used to process Web forms?
Common Gateway Interface (CGI)
In hexadecimal code, the number 16 is represented as:
10
Which of the following is an XML-based protocol used by credit card companies to add security to online credit and debit card transactions?
3-D Secure
Perl, PHP Hypertext Preprocessor (PHP), Active Server Pages (ASP) and .NET are examples of:
Common Gateway Interface (CGI) applications.
Which of the following examples uses the correct syntax for the anchor element?
<a href="http://www.habitat.org"> Habitat </a>
What is the term for code embedded into an HTML page and downloaded by a user to help process Web form input?
Client-side script
Which choice most accurately describes the result of the code?
<tr> <th colspan="3"> Site Development Associate </th> </tr> The heading is located in a cell that spans three columns of the table.
What is Scalable Vector Graphics (SVG)?
A W3C-recommended language that uses XML to describe graphics and graphical applications
Which of the following best describes the business-to-consumer (B2C) e-commerce model?
A Web site that targets consumers or end users, and sells products and/or services
Which of the following describes the programming concept of an array?
A collection of variables stored in a series
Why is a site map an important component of Web page accessibility?
A site map allows visitors to view a summary of a Web site's structure.
What is image animation?
A technique that combines several images in a sequence that is rendered in rapid succession to simulate motion
Which server-side scripting language is Microsoft's original server-side scripting solution?
Active Server Pages (ASP)
What term refers to hosted applications and services offered by a third party?
Cloud computing
Which of the following is a characteristic of server-side languages?
Code is executed by the Web server, not by the Web browser.
Which of the following is required in an HTML tag?
An element
You are developing a Web site using a GUI editor. You have written code in the pages to the HTML 4.01 Transitional standard, and it has validated. Then a team member, hearing that the site will be updated to HTML5 soon, changes the !DOCTYPE declaration on this page to refer to HTML5. Although your page once validated as HTML 4.01 Transitional, it no longer validates. What is the fastest way to get the page to validate?
Change the !DOCTYPE declaration back to HTML 4.01, to which the page code currently conforms.
Which of the following is the most common type of bitmap seen on the Web?
Digitized photographs
Which programming command repeats the input you type back to a terminal or an application window?
Echo
What is the term for the integration of communications, data management and security capabilities designed to allow organizations and consumers to exchange information about the sale of goods and services?
Electronic commerce
In programming, which term describes a line of code that allows a language to respond to a specific event or user input?
Event handler
Which of the following would be the best method to use for floating images to the left and right of text in HTML5 if you are developing sites with multiple pages?
External CSS classes
Which of the following should you use on your Web pages when you want to reference pages on other Web sites?
External hyperlinks
Which of the following is a proprietary technology that manipulates vector-based graphics to create animated sequences?
Flash technology
The only Web-ready image file formats that support animation are:
GIF 89a and PNG
The only Web-ready image file formats that support transparency are:
GIF 89a and PNG
Which of the following is an advantage of using a GUI editor rather than a text editor?
GUI editors allow you to create pages quickly by clicking your mouse
Which choice correctly describes the functionality of GUI page editors, rather than GUI site management editors?
GUI page editors are usually limited to creating individual Web pages using your mouse and a toolbar.
Which choice correctly describes the functionality of GUI site management editors, rather than GUI page editors?
GUI site management editors provide both Web page creation and site management functionality.
Which Web image format is best suited for line art, custom drawings and navigational images?
Graphics Interchange Format (GIF)
When creating your Web pages, you should consider the site's structure because your files will be uploaded to a server eventually. How are Web site files typically structured?
HTML pages are placed in a directory, and all images and files used in that page are stored in subfolders with the same name.
Which of the following statements is true regarding the creation of animated images?
HTML5 provides native support for animation, movies and other multimedia without the use of plug-ins.
HTML5 APIs are the best examples of DHTML because they utilize multiple technologies to extend the functionality of HTML. These technologies are:
HTML5, Cascading Style Sheets (CSS), and JavaScript to access the Document Object Model (DOM)
Which of the following is considered to be the preferred method of designing Web pages?
Implementing a liquid design layout using CSS
When you are considering whether to use a text editor or a GUI editor, which of the following is true?
In most cases, it is best to use both types of editors.
Which technique should you use to indent a paragraph or create additional spaces between words on an HTML page?
Insert non-breaking spaces.
You are preparing to begin developing your Web page code. Which step will help you test your code in various environments?
Installing multiple browsers
What is the term for a hyperlink you create to link one point to another in the same Web page?
Internal Hyperlink
Which of the following describes the HTML5 drag-and-drop API?
It allows a user to grab an object and move it to a different location on a computer screen or into an external application.
The W3C Authoring Tool Accessibility Guidelines Recommendation outlines seven requirements that all focus on what issues for a GUI editor
Its ability to generate proper code and its usability by a disabled person creating Web pages
Which of the following can be run on various systems and is used to update database files?
Java Database Connectivity (JDBC)
Which statement about mobile apps is true?
Mobile apps are designed and built for specific mobile operating systems.
Which of the following can be considered a benefit of Cascading Style Sheets (CSS)?
One simple change to the style sheet will change all elements across the site.
Which of the following is proprietary to Windows-based operating systems and is used to update database files?
Open Database Connectivity (ODBC)
When configuring a test server for your Web site, which three components should be as nearly identical to the production server as possible?
Operating system, Web server software, and CGI interpreter software
Which of the following is an interpreted server-side scripting language used for creating dynamic Web pages?
PHP Hypertext Preprocessor (PHP)
What are the two types of GUI editors?
Page editors and site management editors
Which of the following assumes the current document path so that all references are made from the document's current directory?
Partial URL
In a raw text string, which of the following is used to replace spaces entered by the user?
Plus Signs (+)
You have developed a Web site using a GUI editor. Your supervisor wants to allow members of the development team and other stakeholders to preview the site. What should you do prior to publishing your site to the World Wide Web?
Post the final Web site files to a test Web server before moving them to the production server.
What is the term for the use of specific techniques to increase a page's or site's rank on a search engine?
Search engine optimization (SEO)
Which attribute and value should you use if you need to define a hot spot that is neither rectangular nor circular?
Shape="poly"
Which of the following table element tags are required when you use the <table> tag to create a table?
Table row <tr> and table data <td>
According to HTML5 standards, which choice correctly describes the relationship between tables and Web page structure?
Tables should be used where appropriate to format content, but not to structure Web pages.
What automatically separates individual list items when you create an ordered or numbered list?
Single line breaks
Proprietary file formats can enhance the look and feel of your Web site. Which of the following is a drawback to using proprietary formats?
Some proprietary formats limit a disabled person's ability to obtain information.
Which of the following should you use to define a client-side image map?
The <map> tag
HTML5 with CSS has introduced specific elements to structure Web pages. In which structure element should you include hypertext menus to access various pages of the Web site?
The <nav> structure element
Which of the following defines the content of table cells?
The <td> tag
Which of the following is true of the Document Object Model (DOM)?
The DOM is a vendor-neutral standard.
When a user enters the minimum amount of information required to connect to a Web site, what will the HTTP server present to the user?
The Web site's default page
Which attribute is associated with the <form> element and is used to specify the name and location of the CGI script used to process the
The action attribute
Which CSS table property should you use if you want to combine the borders of adjacent cells into a single border instead of separating them?
The border-collapse property
You are using an image map that is 180 pixels wide and 90 pixels high. You want to define a rectangular hot spot on the image using coordinates "0,45,90,90." What does the coordinate pair "90,90" represent?
The bottom-right corner of the hot spot.
You are using an image map that is 180 pixels wide and 90 pixels high. You want to define a rectangular hot spot on the image using coordinates "0,45,90,90." What does the coordinate 45 represent?
The distance in pixels from the top of the image to the top of the hot spot
What is the purpose of the manifest when working with the HTML5 offline Web application API?
The manifest tells the browser which files to store locally so the user can continue working without a network connection.
Which attribute is shared by all Web form field elements?
The name attribute
In this example, to what does "Habitat" refer? <a href="http://www.habitat.org"> Habitat </a>
The page text that will be affected by the anchor element
What happens when you place an image file in a subdirectory and neglect to reference the subdirectory in the <img> tag's src attribute?
The page will render without the image file, and a small box with an X will appear in its place
Radio buttons are reserved for two or more mutually exclusive options on a Web form. How do you ensure this exclusivity?
The radio buttons must share the same name attribute.
What happens when you place a CSS rule between the /* and */ characters?
The rule will be ignored
Which attributes are required for the <img> tag in HTML?
The src and alt attributes
The W3C Authoring Tool Accessibility Guidelines Recommendation outlines seven points that help determine what?
The suitability of a GUI editor for developers with disabilities
Why should you maintain an image's relative measurements if you resize it?
To avoid distorting the image
For what should you use the value attribute when creating a text box field?
To place default text inside the text box
What is the name of the concept for the changing trends in the use of WWW technology and Web design that have led to the development of information-sharing and collaboration capabilities?
Web 2.0
What is the term for a set of software tools or code that is commonly used in the creation and management of online applications?
Web application framework
Which of the following is another term used for graphical user interface (GUI) HTML editors?
What You See Is What You Get (WYSIWYG) editors
What color does the hexadecimal value #FFFFFF represent?
White
What color does the mixture of red, green and blue light on a monitor screen produce?
White
What will happen if you neglect to include a <!DOCTYPE> tag in your HTML document
Your page will not validate with a markup validator.
HTML5 APIs are used to create apps for:
mobile devices
body {color: teal; font: white;}
a rule
<link href="style.css" rel="stylesheet"/>
a stand-alone non-empty tag.
Which attribute of the anchor (<a>) element determines the color of unvisited hyperlinks?
a:link
The CSS text-align property used for table elements
aligns content horizontally in all table elements.
Site Development Associate<br>
an empty tag.
To download a large file in a short amount of time, you need:
more bandwidth
By default, content in a table header cell is aligned
both horizontally and vertically to the center of the cell.
What is the term for a concept or collection of symbols associated with a product, service or person?
brand
In object-oriented language terminology, which of the following is a group of similar objects?
class
Which term describes the national departments responsible for controlling items entering and leaving the country?
customs
Yahoo! and Google are examples of:
horizontal portals.
Which programming statement executes a group of additional commands when a given condition is false?
if / then / else
Lossy compression is a compression technology
in which the more an image is compressed, the more its quality is reduced.
A flat file is a database in which information:
is stored in a single table.
An interlaced image format is read from
left to right
What is the term for a stand-alone application that is downloaded from a vendor's software repository onto a mobile device?
mobile app
Which of the following language types does not allow for inheritance from one class to another?
object-based
You should create external hyperlinks only after:
obtaining permission from the owner of the site to which you want to link.
Circle hot spots are defined by:
one pair of x,y coordinates and a radius value.
The term "pixel" is short for:
picture element
What is the term for a Web site that acts as a centralized access point for other sites?
portal
Automatically providing information to a client list is an example of:
push technology.
Which of the following are accepted values for the <area> tag's shape attribute?
rect, circle and poly
An internal hyperlink is a link you can use to jump to another:
section on the same Web page
To alleviate language concerns when designing Web pages that will be viewed globally, you should:
specify Unicode support for all of your site's Web pages.
The most common form field used in designing Web forms is the
text box.
By default, horizontal rules display:
with a 3-D shading effect.
When you create an internal hyperlink with the anchor element, what occurs if you omit the hash ( # ) from the href attribute?
The browser will look for an external file by the name specified in the id attribute.
You are using an image map that is 180 pixels wide and 90 pixels high. You want to define a circular hot spot on the image using coordinates "90,45,30." What does the coordinate pair "90,45" represent?
The center of the circle.
Which of the following should you use to specify the width in characters of a scrolling text box?
The cols attribute
When you create an internal hyperlink with the anchor element, which attribute should you use to define the area of the Web page to which the hyperlink will link?
The id attribute
Which table element appears apart from the table itself, by default?
The table caption
With which CSS table property can you specify values of left, center, right and justify?
The text-align property
Which of the following must occur before a CGI script can process Web form data?
The user must enter the data into the Web form and submit it.
The HTML code < and > are examples of
non-keyboard characters.
The CSS padding property of the <table> element determines
the amount of space between cell data and the cell border.
With which CSS table property can you specify values of top, bottom and middle?
the vertical-align property
Which of the following is true about validating code when using a GUI editor to develop a Web site?
Most GUI editors include their own native validation tools or offer easy access to validators.
You have developed a Web site using a GUI editor. The final step in Web site development is publishing your site to the World Wide Web. Which of the following is true?
Most GUI editors provide a publish feature to easily post your Web page files to the Web host.
What is the term for the Web 2.0 programming methodology that enables Web applications to interact with users in much the same way they do with desktop applications?
Ajax
<input type="file" name="File"/>
A Browse button so users can select and upload files to your site.
When you create a select list, how can you specify to pass a value different from the text that appears in the list?
Add the value="" attribute into any or all of the <option> tags.
Where is the slash ( / ) character placed in a stand-alone non-empty HTML tag?
After the element name (before the closing wicket)
Which term describes a business that markets and sells goods and services that it does not own or store?
Aggregator
What occurs when a referenced page is moved or deleted, or if page content is changed and all anchors are renamed or lost?
All hyperlinks that link to that page become invalid.
What is a Common Gateway Interface (CGI) application?
An application that conveys information provided by an end user on a user-input form to a Web server or a database server
What is a certificate authority (CA)?
An organization that issues digital certificates and helps to ensure the identity of a person, host or process
What is a CSS selector?
Any element to which designated styles are applied
What is the term for a set of universal commands, calls and functions that allows developers to communicate with an application or operating system?
Application programming interface (API)
When you develop a mobile Web site, why is it important that you validate your markup code to HTML5?
Because HTML5 was created in part to provide support for mobile devices.
Why should you avoid adding spaces or hard returns within an <img> tag?
Because XHTML will render the additional spaces or hard returns, which may affect the placement of the image on the page
Why should you avoid placing paragraph breaks around heading styles in your HTML code?
Because heading styles are automatically preceded and followed by paragraph breaks
Why is pay per click (PPC) not considered an "organic" Internet marketing technique?
Because you pay to have your page listed as highly as possible in search engine rankings instead of optimizing pages to help make them appear naturally more relevant
What is the default appearance of hyperlinks in the browser?
Blue and underlined
What is the default value for aligning images relative to text using CSS?
Bottom
In database technology, what is the term for the SQL coding necessary to create relationships with the data stored in a database?
Business logic
Which choice correctly describes the relationship between tables and borders?
By default, borders do not appear around tables.
Which Web form field allows users to choose from among two or more non-exclusive options?
Check box
As you develop a Web site designed for mobile devices, always use:
the alt attribute in your <img> tags.
Which HTML heading style renders text the same size as normal text?
Heading level 4
CSS allows you to change the size of text. Which of the following statements about the font-size property is true?
Headings (h1 through h6) should be used whenever possible instead of the font-size property.
Which of the following is a factor search engine companies consider when ranking the most relevant Web pages for a user's search?
How many hyperlinks from other sites point to a page
Certain functionality features are offered by most GUI editors. Which feature offers easily identifiable graphical buttons to provide the same functions found in text-based menus?
Icon bars
What does the internal hyperlink in this example do? <a href="http://www.habitat.org/support/default.aspx#DonateOnline"> habitat.jpg </a>
It links to an internal anchor in an external file.
You are developing a Web site using a GUI editor. You are curious as to whether your pages will look or function any differently after you publish them to the Web. Which of the following is true?
Most GUI editors allow you to easily preview and test your pages in the browser(s) of your choice.
Generally, which Web image format should you use if you want the highest image quality?
Joint Photographic Experts Group (JPEG)
Which of the following should you use when you develop your own Web pages and want to link them to form a site?
Local Hyperlinks
Which term describes a hyperlink that links one file on your hard drive to another file on your hard drive?
Local hyperlink
What attribute should you add to the <audio> element if you want your audio to play over and over again without stopping?
Loop="loop"
You are creating a select list for your Web form. You want to allow users to choose more than one response from your list. Which attribute and value should you add to the <select> tag to allow this?
Multiple="mutiple"
Which of the following can be considered a disadvantage of the Portable Network Graphics (PNG) format?
Older browsers do not render the PNG format
Which of the following can be considered a disadvantage of using FormMail?
Older versions of FormMail could be fooled into sending email to anyone.
By adding the checked="checked" attribute and value into the <input> tag for a group of checkboxes, you can
Preselect as many checkboxes as you like
Which term describes a style of programming that uses subprograms to accomplish tasks?
Procedural
Which Web form field allows users to choose from among two or more mutually exclusive options?
Radio button
Client-side image maps are more common than server-side image maps because server-side image maps
Require CGI scripts
What is the term for a logical construct in programming that allows you to control the way information flows in the application?
Statement
Which of the following actions will upload user data from a Web form to the receiving server?
Submitting the form
Which Web form field should you use to create a scrolling text field into which a user can enter multiple lines of text?
Text Area
Which of the following occurs when you specify the wrap="soft" attribute and value for the <textarea> tag?
Text you enter will continue on one line beyond the scrolling text box border.
What does an HTTP 404 error signify?
That you have requested a file that does not exist on the specified Web server
Which <img> tag attribute specifies alternative text to appear while a graphic is loading, or in place of the graphic in non-graphical browsers?
The alt attribute
What occurs when a user clicks the Submit button on a Web form?
The data from all fields in the form is sent to be processed by the action specified in the <form> tag.
Which choice correctly describes the effect of clicking a hot spot on an image map?
The file designated by the hot spot's URL reference will load.
What occurs when you surround an image tag with opening and closing anchor tags?
The graphic image defined by the image tag will become a hyperlink.
When you specify the height and width of table elements, what occurs when you set multiple values in multiple cells?
The highest value takes precedence
The default or starting page of a Website is called the
The home page
What happens if you omit the size attribute when you use the <select> tag to create a select list?
The number of items that will appear in the list by default will depend on the browser.
You can include non-keyboard characters in Web pages, such as © and ®, by entering a special HTML code for each character, called the escape sequence. With what characters must you start and end the escape sequence?
You must start the escape sequence with an ampersand ( & ) and end with a semicolon ( ; )
What is the best way to ensure that your Web page code conforms to the W3C's standards?
Use the GUI editor's built-in code validator or visit a validation site.
What does a validation engine (such as the W3C Markup Validation Service) determine about your Web page?
Whether it conforms to a specific W3C markup code standard
Which choice correctly describes polygon hot spots on image maps?
You can use up to 100 pairs of x,y coordinates to define a polygon.
HTML tags
are not case-sensitive but should always be typed in lowercase letters
An absolute URL:
contains a full path to a resource, including the protocol indicator.
When creating Web forms, you use the <input> tag to
create text boxes, check boxes, radio buttons, and the Submit and Reset buttons.
You can use the <pre> tag to:
display preformatted tabular data if you have no time to format it.
In order to create an external hyperlink, you must determine:
the absolute URL, including the protocol indicator, for the Web page to which you want to link.