Web dev wgu
Which options are requirements for web page accessibility? (Multiple answer). -All forms must be easily readable by screen reading technology. -All non-text content, including Java applets, must provide text-based alternatives. -The use of background and foreground colors must provide good contrast. -All images must provide text-based descriptions.
-All forms must be easily readable by screen reading technology. -All non-text content, including Java applets, must provide text-based alternatives. -The use of background and foreground colors must provide good contrast. -All images must provide text-based descriptions.
What is the most popular top-level domain (TLD)? .com .NET PDF PHP
.com
How many Domain Name System (DNS) servers currently exist in the world? 13 1 15 256
13
In what year did the Internet begin with four networked computers? 1969 1967 1972 1984
1969
In what year did the number of Internet users surpass 3 billion? 2015 1991 2001 2011
2015
If a web server is reached but the specific requested page isn't found, what status code does the server return? 404 216 256 4.01
404
Which CSS selector styles the first character of a sentence differently? ::first-line :first-child :first-of-type ::first-letter
::first-letter
Which CSS selector represents the first-child pseudo-class selector? .first-child #first-child :first-child ::first-child
:first-child
Which option indicates a correctly formatted HTML comment? <-- this is a section --> // comment text here <!-- comment text here --> /* this is a section */
<!--comment text here-->
Which of the following is an example of how to add a hyperlink using HTML? <a href="index.html">Home</a> <href="#top">Top</href> <link href="#top">Top</link> <link="index.html">Home</link>
<a href="index.html">Home</a>
Which tag is optional when creating an HTML table? <table> <tr> <td> <caption>
<caption>
A website developer needs to use a tag that does not apply a default format or style. Which tag should the developer use? <ul> <h1> <a> <div>
<div>
Which HTML tag is used to indicate the first heading level in a web page? <h0> <h1> <first> <head>
<h1>
The ___ element is used to contain meta tags, links to style sheets, and the title element. <head>...</head> <html>...</html> <img...> <link...>
<head>...</head>
Which HTML tag should contain introductory content? <header> <article> <main> <section>
<header>
The ___ element contains the entire document code. <html>...</html> <article>...</article> <body>...</body> <div>...</div>
<html>...</html>
Which HTML tags provide elements for passing text from an end-user to server from a web form? -<input> -<radio> -<body> -<link>
<input>
Which tag is used to reference an external CSS sheet within an HTML document? <link> <embed> <style> <input>
<link>
The ___ element is used to specify information about the document, such as a character set, author, and viewport. <meta> <body>...</body> <br> <div>...</div>
<meta>
What is an example of a semantic element? <link> <head> <nav> <style>
<nav>
Which code snippet represents valid HTML syntax? <p class="parent"></p> p::before { content: "child"; } <note><from>Boss</from></note> alert("hello world");
<p class="parent"></p>
Which HTML tag is used in tables to specify a cell within a non-header row? <th> <tc> <td> <tr>
<td>
Which items are necessary for an HTML form to communicate with a server? A web browser and server-side scripting Server-side scripting and an email client A web browser and a database Server-side scripting and a database
A web browser and server-side scripting
Which of the following is an API and/or WYSIWYG editor for web development? -Sublime Text -Figma -Adobe Dreamweaver -Visual Studio Code
Adobe Dreamweaver
Who can register an unused domain name with a domain name registrar? Anyone Customers Developers Managers
Anyone
Which third-party outsource service will always be needed for deploying a website? -Hosting of server-side applications -Assignment of Domain Name Servers -Support for WordPress modules -Database server availability
Assignment of Domain Name Servers
What are two unique characteristics that define a polygon hot spot? Choose 2 answers. Includes a radius coordinate Specifies a center point Gives diameter measurement Begins and ends at the same pair of coordinates Contains many pairs of coordinates
Begins and ends at the same pair of coordinates Contains many pairs of coordinates
What can be used to instantly apply changes to applied styles? Browser developer tools W3C Markup Validation Service Browser view source W3C CSS Validation Service
Browser developer tools
Which Bootstrap installation option avoids bundling Bootstrap with the source code of a website? NPM CDN RubyGems NuGet
CDN
A style sheet language that provides the formatting and "look" of a Webpage or document written in a markup language. CSS HTML5 SGML XML
CSS
Which pair of characteristics is true of XML? Case sensitive and allows errors Case sensitive and disallows errors Case insensitive and allows errors Case insensitive and disallows errors
Case sensitive and disallows errors
What is the use of artificial intelligence (AI) and access to vast amounts of data to simulate human problem solving in complex situations? Cognitive Computing .NET AJAX box model
Cognitive Computing
Which Chrome DevTools tab is accessed to view logged JavaScript messages and run JavaScript? Console Elements Sources Network
Console
What is true of container tags and empty tags? Container tags come in pairs and empty tags stand alone. Container tags stand alone and empty tags come in pairs. Container tags and empty tags come in pairs. Container tags and empty tags stand alone.
Container tags come in pairs and empty tags stand alone.
What is a common concern when deciding the outsourcing level for a website? (Multiple Answer) -Cost of service -Technical Support -File Security -None of the above
Cost of service Technical Support File Security
What is the difference between AJAX and DHTML? -DHTML is for interaction and AJAX for data storage; -DHTML is used for animation and AJAX for media display; -DHTML supports content display from remote resources, AJAX supports its display in a browser; -DHTML and AJAX perform the same function in browsers.
DHTML supports content display from remote resources, AJAX supports its display in a browser;
What is the primary purpose of the Document Object Model (DOM)? -Enables dynamic web pages that do not require server processing. -Controls the look and feel of a web page. -Provides a bottom-up approach to web development. -Defines documents' logical structure and how elements are accessed and manipulated.
Defines documents' logical structure and how elements are accessed and manipulated.
Which phase of the web page life cycle is concerned with deprecated hyperlinks? -Testing & Implementation -Purpose & Requirements Analysis -Design & Development -Deployment & Maintenance
Deployment and Maintenance
In which phase of the project lifecycle are HTML and CSS files coded? -Testing & Implementation -Purpose & Requirements Analysis -Design & Development -Deployment & Maintenance
Design & Development
Which CSS implementation technique allows element style updates to multiple pages from a single location? External CSS Internal CSS Inline CSS Embedded CSS
External CSS
True or False? JavaScript code needs to reside inside HTML documents to run. False True
False
Identify the five (5) potential parts of a URL. Fragment Hostname Path Query String Scheme anchor Code
Fragment Hostname Path Query String Scheme
Which language is not used to connect with a server-side programming language for web development? -JavaScript -CGI -HTML -PHP
HTML
Which two statements accurately describe the differences between HTML and XML? (Multiple answer). -HTML is a display language, while XML is a data storage language. -HMTL is case sensitive, while XML is not case sensitive. -HTML files and XML files have different file extensions (.html and .xml). -HTML and XML are identical. No differences.
HTML files and XML files have different file extensions (.html and .xml) HTML is a display language, while XML is a data storage language.
Which pair of characteristics differentiate HTML from XML? HTML is static; XML is extensible. HTML is dynamic; XML is extensible. HTML is static; XML has a limited number of tags. HTML is dynamic; XML has a limited number of tag
HTML is static; XML is extensible.
Which statement describes the relationship between Dynamic HTML (DHTML) and the Document Object Model (DOM)? -HTML utilizes a collection of technologies, including the DOM, to control the overall appearance and function of a web page. -The DOM is a standard way to define style configurations for DHTML. -The DOM and DHTML are two distinct languages for both establishing the structure and modifying the look and feel of a web page. -DHTML defines the style of a web page, and the DOM provides interactivity and animation features.
HTML utilizes a collection of technologies, including the DOM, to control the overall appearance and function of a web page.
A language that requires few plug-ins and standardizes how video and audio are presented on a webpage. HTML5 Lynx Multiple Spoken Languages Scripting Languages
HTML5
A markup language used for structuring and presenting webpage content. HTML5 CSS SGML XML
HTML5
Which options are usual style properties of the HTML5 <img> tag? (Multiple answer). -Size -Height -Dimension -Width
Height Width
What is a networking protocol that runs over TCP/IP and governs communication between web browsers and web servers? HyperText Transfer Protocol (HTTP) CSS Dynamic HTML HTML
HyperText Transfer Protocol (HTTP)
What is text that has links to other text, images, videos, and more? Hypertext doctype HTML manifest
Hypertext
Which type of Bootstrap library includes several symbols that can be used within a web page? JavaScript Typography Icons Components
Icons
Where will a browser find a file named index.html in the URL path of ../products/product_1.html? In a directory that begins one level higher than the current page In a directory that begins at the same level as the current page In the root directory In the subdirectory
In the root directory
Which tool can be used to determine if a component has been rendered with the incorrect size and margin? Inspect the Element to check the rendered box model Check the Console for any rendering errors Attach a debugger to step into loading steps Check HTML code via Application Storage
Inspect the Element to check the rendered box model
A website developer identifies an issue with a CSS property value taking precedence over an element. Which Firefox Developer Tools tab should the developer access to review CSS declaration precedence? Inspector Network Console Storage
Inspector
Which option is most effective for a client prototype presentation? -Site Menu tree description -CSS Stylesheets used -Interface Mockup designs -Site map page listings
Interface Mockup designs
Which technique for implementing CSS in an HTML file is used for page-level style declarations? Internal CSS External CSS Style attribute Link tag
Internal CSS
What is the functional purpose of HTML in web design? -It is used for making complex or fancy webpage content. -It is the protocol to exchange files over the internet. -It is the file structure for a browser to render a webpage. -It is a supporting markup language to store data.
It is the file structure for a browser to render a webpage.
What happens when an end-user clicks on a submit button element of a web form? -It resets the input elements of the form. -It creates a new form. -It redirects the browser to a new web page. -It parses the information from the form using the name/value pairs to the destination specified in the Action attribute value.
It parses the information from the form using the name/value pairs to the destination specified in the Action attribute value.
A scripting language used to provide interactivity within a webpage. JavaScript CSS SGML XHTML
JavaScript
What is a way the <a> tag can be used? Adding paragraph formatting to a series of text blocks Linking to a specific location on the same page Marking text to change the formatting to bold Adding line break formatting within a block of text
Linking to a specific location on the same page
What is a popular and common approach to storing & retrieving database information for web page display? -MySQL relational DBMS and PHP interface -Oracle Express DBMS and Ruby interface -Microsoft Access DBMS and ASP.NET interface -PostgreSQL DBMS and Python interface
MySQL relational DBMS and PHP interface
Which attribute is used by all form fields? value href name src
Name
Which Firefox Developer Tools tab displays how long a request took for each site resource type? Network Storage Memory Console
Network
Regarding the parts of a URL, what is a Fragment? Optional characters at the end of a URL that start with a hash symbol (#) and refer to a certain location within a webpage. Characters at the beginning of a URL followed by a colon (:) or a colon and double slashes (://). Optional characters to the right of the question mark (?) in a URL that provide data for the web server. The characters to the right of the hostname in a URL.The complete domain name following the scheme in a URL.
Optional characters at the end of a URL that start with a hash symbol (#) and refer to a certain location within a webpage.
Regarding a URL, what is a Query String? Optional characters to the right of the question mark (?) in a URL that provide data for the web server. Characters at the beginning of a URL followed by a colon (:) or a colon and double slashes (://). Optional characters at the end of a URL that start with a hash symbol (#) and refer to a certain location within a webpage. The characters to the right of the hostname in a URL.The complete domain name following the scheme in a URL.
Optional characters to the right of the question mark (?) in a URL that provide data for the web server.
Which image file format supports transparency? JPEG TIFF BMP PNG
PNG
What is the purpose of the CSS3 standard? -Replacement language for HTML. -Provides eCommerce on the WWW. -Provides for Data storage. -Page layout & design for web2.0
Page layout & design for web2.0
What is one of the most important aspects of designing web pages for mobile devices? -Prioritizing content -Making navigation touchscreen compatible -Tailoring content to individual mobile device platforms -Reducing the number of colors used in images
Prioritizing content
What should be used to optimize a website for viewing across different devices and improve a user's experience? Native apps Standalone sites Adaptive layouts Responsive design
Responsive design
What is the difference between web page responsiveness and efficiency? -Responsiveness is about the correct display of a web page on different devices, while efficiency is about the display time of a web page. -Responsiveness is about the overall performance of a web page, while efficiency is about the use of web form elements in a web page. -is about the smooth display of a web page, while efficiency is about the correct display of a web page in different devices. -None, responsiveness and efficiency in this context are synonyms.
Responsiveness is about the correct display of a web page on different devices, while efficiency is about the display time of a web page.
Why is it important to select an appropriate web page title for your website? -A web page title tag impacts bandwidth connection for the end-user. -Web page titles are generally poor syntax. -Title tags impact the load time of a web page. -Search engines use indexing on the web page title.
Search engines use indexing on the web page title.
Which feature helps the user find content throughout a website? Site map Image map Glossary Breadcrumbs
Site map
What is a network sniffer? Software that monitors network traffic and allows users to inspect HTTP requests and responses. Characters at the beginning of a URL followed by a colon (:) or a colon and double slashes (://). Dogs that are trained to search for and identify hackers within corporate offices. Managers
Software that monitors network traffic and allows users to inspect HTTP requests and responses.
Which Firefox Developer Tools tab is used to view and edit cookies on a site? Console Storage Network Performance
Storage
Which laws enforce rules and regulations over web page content globally? -The standards created by the World Wide Web Consortium -The American Disability Act, Section 508 guidelines -The United Nations regulations on information display -The US Copyright law regarding ownership
The US Copyright law regarding ownership
What is Linkrot? The general name for a once valid link that now returns a 404 status code. A link that degrades over time and slowly disappears from a webpage. absolute link Identifiable Portal
The general name for a once valid link that now returns a 404 status code.
Which characteristic of XML indicates it is an extendable markup language? -XML tags can have several parameters. -The set of XML tags is unlimited. -XML tags can have attributes. -XML can have element tags and self-closing tags.
The set of XML tags is unlimited.
Which accessibility solution should be used for users with hearing impairment? Easily read fonts Textual description of images Transcript of audio Screen reading conversion
Transcript of audio
What is a protocol suite that governs how data packets are transferred over the internet from one machine to another? Transmission Control Protocol / Internet Protocol (TCP/IP) Document Object Model (DOM) HyperText Transfer Protocol (HTTP) PPC (Pay-Per-Click)
Transmission Control Protocol/ Internet Protocol (TCP/IP)
What is the global setting in Bootstrap that affects the overall text appearance on a website? Typography Pagination Breadcrumbs Composer
Typography
Which area of information display improves a better end-user experience with a website? -HPC -NLP -ASP -UI/UX
UI/UX
What does the acronym URL stand for? Uniform Resource Locator Unanswered Rhetorical Linguistics Unidentified Request Leaker Unknown Request Linkage
Uniform Resources Locator
What approach or technology provides security needed for secure e-commerce functionality? -Use of a site map -Interface UI/UX concerns during design -Use of HTTPS browser protocol -Identification of an e-commerce model
Use of HTTPS browser protocol
How do vector-based graphics differ from rasterized (bitmap) graphics? -Rasterized images are more compact in size. -Vector-based graphics are rendered mathematically -Bitmap graphics are based on components of the images instead of pixels. -Rasterized images can be altered more easily.
Vector-based graphics are rendered mathematically.
What is the ability of users with disabilities to access and use a webpage with reasonable effort? Web Accessibility Web 2.0 Web Accessibility Initiative (WAI) Web Content Accessibility Guidelines (WCAG)
Web Accessibility
What types of code editors are not appropriate for HTML and CSS development? -Text editor -GUI editor -Word Processor -Content Management System
Word Processor
Creates all web standards. World Wide Web Consortium (W3C) American Disabilities Act (ADA) Section 508 of the Rehabilitation Act Web Content Accessibility Guidelines (WCAG)
World Wide Web Consortium
Which file type is used by businesses to interchange website data with many different types of applications? XML HTML CSS SQL
XML
Use the given code snippet to answer the following question: <a href="https://www.sample.com">Sample.com</a> Which pseudo-class changes the background color of the link on mouse-over? a:hover { background-color: yellow; } a:focus { background-color: yellow; } a:active { background-color: yellow; } a:link { background-color: yellow; }
a:hover { background-color: yellow; }
Which two attributes should be used within an image tag? Choose 2 answers. title alt align src float
alt src
Which CSS properties are used to specify the amount of space between grid columns and rows? column-gap and row-gap grid-row-start and grid-row-end grid-area and grid-template-area grid-template-columns and grid-template-rows
column-gap and row-gap
What is the Third-level domain in the following multi-level domain name? cs.stanford.edu cs .com .edu stanford
cs
The ___ declaration identifies the version of HTML used to create the webpage. doctype <footer>...</footer> Code CSS
doctype
Examine the following style rule. What is the selector? h1 #000 color {...}
h1
What is the attribute of the HTML <a> tag that contains a value for a Uniform Resource Locator? -href -url -link -hyper
href
Which of the following is an invalid CSS rule-set? p { text-align:right; arial; } p { font-family:arial; } p { font-family:arial; text-align:right; } p { text-align:right; font-family:arial; }
p { text-align:right; arial; }
What is a unit of absolute size? px em rem vw
px
Examine the following style rule. Identify a declaration. text-align: center; color The entire block of code Verdana
text-align:center;
Which CSS selector is used to style general sibling elements? ~ . * +
~