2nd Attempt Quizzes
What is the hexadecimal color code for black?
#000000 or #000
Examine the following style rule and identify the selector. #content { color: #fff; }
#content
Which of the following is an example of a CSS style rule with an ID selector?
#content { color: #fff; }
What is the hexadecimal color code for red?
#ff0000
Which of the following is an example of a CSS style rule with a class selector?
.special { color: #00ff00; }
The browser-safe or web-safe color palette consists of how many colors?
216
Examine the following style rule. How many declarations are within this style rule? h1 { font-family: Verdana, Arial, sans-serif; color: #000; text-align: center; font-size: 3em; }
4
Which code snippet correctly demonstrates how to use an image as a hyperlink?
<a href="index.html"><img src="logo.png" alt="company logo"></a>
Which HTML code snippet correctly defines an image map's regions?
<area shape="rect" coords="0,0,75,75" href="index.html" alt="home">
What HTML5 Semantic Elements are used to structure webpage content? Select all the apply.
<article> <footer> <nav> <header>
Which HTML tag is used to embed YouTube videos, interactive maps, or other webpages/documents within a webpage?
<iframe>
Which of the following code snippets correctly demonstrates how to add an image using HTML?
<img src="images/logo.png" alt="company logo">
Your Web team manager has directed you to create a Web form that allows the user to upload a file to your Web server. Which input type would accomplish this task?
<input type="file" name="resume">
Examine the code snippets below. Which code snippet correctly shows how to create an input element for a password field?
<input type="password" name="password" id="pw">
What is the correct method for linking an external stylesheet to an HTML file?
<link rel="stylesheet" type="text/css" href="styles.css">
The following are HTML5 semantic elements. Select all that apply.
<nav>, <header>, and <footer>
Which of the following start tags creates a multiple-option select list in a Web form?
<select name="referral" multiple>
Identify the query string in the following URL: http://www.somedomain.com/example.php?courseName=WebDev&courseNum=C779
?courseName=WebDev&courseNum=C779
What are some important concepts when considering a brand for a product or service?
A brand should be unique, simple, and memorable.
You recently started a new business and created a website for your business. You want to quickly launch your website but do not have a server. You want to ensure that your website is hosted on a server that is not shared with other users. Which of the following solutions would be best?
A dedicated hosting solution
What are Web Analytics?
A practice that collects and analyzes user behavior data to help improve sales or market share.
Examine the following statements. Which is true about semantic HTML?
A semantic element designates its meaning to the browser and the developer.
What is SaaS?
A software licensing and delivery model.
What is an empty or "standalone" tag?
A tag that is only one tag. For example: <br> or <meta>
What is image interlacing?
A technique that allows an image to progressively display in a browser as it downloads
What is Responsive Web Design?
A way of designing a website so that it looks good when viewing on multiple types of devices, such as smartphones, tablets, laptops, and desktops..
What is AJAX?
AJAX is a programming methodology that enables Web applications to interact with users in much the same way they do with desktop applications.
Which web server technology is a proprietary technology that is only used with Microsoft systems?
Active Server Pages (ASP)
The web is designed to be platform-independent, which means that:
An interface created with HTML can display on any operating system.
What is an Application Programming Interface (API)?
An interface that defines interactions between multiple software applications.
If you create a style rule that specifies a blue background color for a body selector, what will the background color be for all elements nested within the body, assuming that no other style rules specify a background color?
Blue
Identify the three most common eCommerce models. Select all that apply.
Business-to-Business (B2B), Business-to-Consumer (B2C), and Consumer-to-Consumer (C2C)
W3C Validation Services
Checks the syntax validity of HTML and CSS files.
Examine the following style rule and identify the property. h1 { color: #ff0000; }
Color
What are some common CSS properties used to format text? Select all that apply.
Color Font-size Font-family
What does CGI stand for and what are some languages you can use for its implementation?
Common Gateway Interface. PHP, Perl, ASP
What is the first step in the web development project cycle?
Create and document an initial Website plan.
The Document Object Model (DOM) is:
Cross-platform Application Programming Interface (API) that specifies how objects in a document can be referred to and manipulated through scripting languages.
Identify eCommerce payment technologies. Select all that apply.
Electronic Funds Transfer (EFT), Payment Gateway, and 3-D Secure.
What is FTP and what is its purpose?
File Transfer Protocol, used for web page publishing
Which of the following statements is true regarding GET and POST form attribute values? Select all that apply.
GET is good for non-secure data, like query strings in Google. POST has no size limitations, and can be used to send large amounts of data. Form submissions with GET can be bookmarked.
Which Web-ready image file formats support interlacing?
GIF 87a, GIF 89a and PNG
The following are examples of what? € € € ©
HTML Entities
What three languages are considered the "web development trifecta?"
HTML, CSS, and JavaScript
The W3C provides the technical guidelines for all aspects of information exchange on the Web, including:
HTML, CSS, and XML standards.
What is Secure Sockets Layer (SSL)?
High-level encryption protocol
Which of the following best describes the function of a protocol?
It is a set of rules or procedures for transmitting data between electronic devices.
What is JDBC and what is its purpose?
JDBC (Java Database Connectivity) is a database connection method, used for many systems.
What image file formats are used for web? Select all that apply.
JPEG, GIF,and PNG
Which of the following do many GUI HTML editors offer that text editors do not?
Live Preview of pages
Which of the following video file formats are supported in HTML5 with the <video> element? Select all that apply.
MP4 Ogg WebM
What is the difference between padding and margin when applied to an HTML element?
Margin is the outer space of an element, padding is the inner space of an element
Examples of GUI editors include (select all that apply):
Microsoft Expression Web, Google Web Designer, and Adobe Dreamweaver
The effect of marketing efforts influencing a particular target market or demographic.
Mindshare
Common server-side scripting languages include which of the following? Select all that apply.
Perl PHP ASP
Internet Marketing applies traditional marketing concepts to Web-based technologies, and consists of the following practices:
SEO, Pay Per Click, and Web Analytics
Examine the following CSS style rule and identify its purpose. a:hover { color: orange; }
Sets the color of a link hover state to orange
Sage is developing a Web page using a GUI HTML editor. She wants to use this editor to preview the page as she develops it. Which of the following is true?
She can preview the page with all the browsers installed on her computer or device.
Examine the following statements. Which is NOT true?
The Document Object Model is deprecated in Web 2.0.
What is the difference between the Internet and the World Wide Web (WWW)?
The WWW is the content and the Internet is the delivery infrastructure.
Examine the following style rule. Why are three values specified for the font-family? h1 { font-family: Verdana, Arial, sans-serif; color: #000; text-align: center; font-size: 4em; }
The additional values are fallback fonts. In the event that the browser does not support the first font, it will "fallback" to the next font value.
You are creating a hotspot on an image measuring 180 pixels wide and 90 pixels high. You want to define a circular hot spot on the image using coordinates "90,45,30." What do the numbers "90,45,30" represent (in order)?
The circle's center coordinates and its radius.
What is the purpose of code validation?
To check your code against syntax standards
True or False. If you want an image to appear smaller than it's original dimensions, you should specify a width or height in CSS using percentages to maintain its aspect ratio.
True
Identify tasks performed during website maintenance/management. Select all that apply.
Update webpage content, update or remove dead links, and remove old pages or content.
A well-designed webpage should (select all the apply).
Use tables to display tabular content, be accessible to all users and use intuitive navigation.
Cloud computing:
Uses a network of remote servers.
Which of the following is a specific set of guidelines that web developers should follow to ensure that their website content is accessible?
Web Content Accessibility Guidelines (WCAG
Which set of standards developed by the W3C Web Accessibility Initiative (WAI) provides a universal set of guidelines that addresses accessibility for all Web users?
Web Content Accessibility Guidelines (WCAG)
Which of the following develops web standards?
World Wide Web Consortium (W3C)
Which of the following statements are true of a co-location web hosting solution? Select all that apply
You provide the server hardware, and the provider supplies space and necessary bandwidth for your server. The service provider allocates space for your equipment.
Which of the following statements is an example of push technology.
You receive a newsletter via email from a business because you previously joined their mailing list.
Which of the following elements is used to contain a website's visible content?
body
Examine the following tag. Identify the attribute. <meta charset="utf-8">
charset
The primary use of HTML canvas is to
draw graphics, on the fly, via JavaScript
Which label attribute is used to "bind" a label element to an input, select, or textarea element?
for
Which of the following heading elements displays the largest text?
h1
A CSS rule can be applied to multiple selectors. Which of the following examples demonstrates how to apply one style rule to multiple selectors?
h1, div, p { color: #ff0000; }
Which of the following heading elements is the same size as normal text?
h4
Which of the following is an example of a relative path?
images/logo.png
Which CSS rule positions an image on the right side of a webpage?
img { float: right; margin-left: 0px; }
When you save the home page of your website, what should its file name be?
index or default
Examine the following code snippet and identify if CSS is applied using an external style sheet, inline, or internal style sheet. <h3 style="color: blue">Heading 3 Example</h3>
inline
What attribute would you apply to the <audio> element to play a file over & over again without stopping?
loop
When creating a web form, what two form attributes must be included to send and process the form data?
method and action
Which input element attribute must be included in order to provide the input value to the server?
name
Which of the following style rules correctly specifies a font face for a selector?
p { font-family: Arial, sans-serif; }
Which of the following form input types is used to create a group of mutually exclusive options?
radio
The HTML5 canvas API only supports which shape?
rectangle
When optimizing content on mobile sites, you should:
reduce the amount of content to reduce page scrolling.
Examine the following CSS style rule and identify all syntax errors. Select all that apply. h2 { color= #00ff00 }
replace the equal sign = with a colon : and the declaration is missing a semicolon
You are creating a web form where customers will enter their address for shipping purposes. Which type of form element would be used to provide a drop-down list to indicate the customer's state of residence?
select
Identify common types of form elements used to collect user input. Select all the apply.
select textarea input
What is a Web framework?
software tools used in web development
Examine the CSS style rule. Identify the purpose of the style rule. specifies an background image for the body selector. body { background-image: url("paper.png"); }
specifies an background image for the body selector
All of the following are block-level elements except:
strong
Which anchor attribute defines where a link will open in a browser?
target
Which input element attribute is used to specify the type of input field?
type
Form validation is typically used to
verify credit card information and client phone number.
WGU's website,wgu.edu is an example of a:
vertical portal