Section 1

Preview this deck

What Drag-and-Drop API method is called when a page element is dropped after being dragged?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (55)

Section 1

(50 cards)

What Drag-and-Drop API method is called when a page element is dropped after being dragged?

Front

drop()

Back

jQuery's DOM-related methods provide a simpler way to access and manipulate HTML elements and attributes. HTML elements are selected and jQuery performs various actions on them using the following code: $(selector).action() Which portion of this code specifies and accesses jQuery?

Front

$

Back

You are creating user-defined functions in your JavaScript code. What must you include immediately after each function name?

Front

Parentheses ( ) that encompass the arguments to be used in the function

Back

In Cascading Style Sheets (CSS), what is a rule?

Front

A format instruction that consists of a specified selector and the properties and values applied to it

Back

Which attribute is used to finish field values based on characters that the user has entered before?

Front

autocomplete

Back

Regarding HTML5 forms, how are HTML5 input types displayed in various browsers?

Front

They may display differently in various browsers.

Back

Consider the following JavaScript expression: (((6 - 2) 4) / (6 - 2)) 2 What is the result of this expression?

Front

The result of this expression is: 8

Back

Which of the following are considered to be user interface (UI) elements?

Front

Menus and buttons

Back

Tina is creating a Web form that will be used internally in her organization. She wants to use an image of a green check box to create a Submit button on the form that will submit user input to a server for processing. Which element can she use to create a Submit button that uses text and images?

Front

<button type="submit">

Back

In JavaScript, what is a function?

Front

A named set of statements that performs a task or calculates a value.

Back

In JavaScript, what is a property?

Front

A descriptive characteristic of an object that the developer specifies when creating the object

Back

You want to be able to ask your site users for a password, then store the user's input so that the password can be used as needed to execute various functions within the application. In which of the following should the user's input be stored?

Front

A variable

Back

A Web designer who assigns specific pixel widths to elements using the HTML structural elements is using what page-layout method?

Front

Fixed-width

Back

Much HTML5 code has backward compatibility built in that enables it to render acceptable substitutes on the page when older browsers cannot support the newer HTML features. Which term is used to describe this feature?

Front

Graceful degradation

Back

Which statement accurately describes a key difference between mobile site design and responsive site design?

Front

A mobile site requires a separate domain and URL, and different HTML from the main site.

Back

Roshon wants to create an HTML5-compliant page that has four sections: a section that contains the site navigation links, top and bottom sections that contain a logo and copyright information, and a section that contains the main message of the page. Which elements should Roshon use to create these sections?

Front

The <header>, <footer>, <nav> and <main> elements

Back

Patrick is creating a form for his Web site, and he wants to have visitors provide their names. Which HTML5 code would ensure that users enter their first names prior to submitting the form?

Front

First Name: <input type="text" name="firstname" required >

Back

Nevine wants to improve her JavaScript program's efficiency and scalability by defining her own processes, or functions. Why are functions such an integral part of writing JavaScript code?

Front

Because they perform specific tasks repeatedly throughout your program, as needed

Back

In a CSS style sheet, which of the following determines the image behind the contents of a page?

Front

The background-image property

Back

Joey wants to develop a "one size fits all" Web page that will adjust to the screen size of different devices, such as traditional Web browsers, smartphones and tablets. Joey decides to use HTML5 and CSS3 to create the pages. What term describes the type of Web page creation in which Joey wants to engage?

Front

Responsive design

Back

In JavaScript, what term is used to describe the technique of changing a variable's value from one data type to another?

Front

Casting

Back

What selector could you use to select every <a> element whose href attribute value ends with .zip?

Front

a[href$=".zip"]

Back

Why is it challenging to use images in your page designs for mobile sites?

Front

Because of size constraints in device screens and memory

Back

Generally speaking, what functionality does JavaScript provide when used as part of the "Web development trifecta"?

Front

Page manipulation capabilities and advanced interactivity

Back

Which statement correctly describes an advantage that mobile Web sites have over mobile apps?

Front

Mobile Web sites work on any device with a browser so you can create them once and run them anywhere.

Back

Because mobile devices have smaller screens, you must lay out your pages differently than you would for a page that will be viewed primarily on larger screens. Which of the following is a technique you can use to simplify your page design?

Front

Minimize formatting such as fonts and colors.

Back

What is the purpose of the CSS3 transition-delay property?

Front

To define when the transition will begin

Back

How can you "comment out" a particular rule in a style sheet so that it will be ignored when you link the style sheet to a Web document?

Front

Place the rule between the / and / characters.

Back

You are embedding audio in your HTML5 page and want to specify that the audio file should automatically play immediately upon loading. Which attribute is needed to accomplish this?

Front

autoplay="autoplay"

Back

Experts in Web technology expect that the future of Web development will rely heavily on:

Front

HTML5 APIs.

Back

Consider the following code: <script> function dateTodayTomorrow(a, b) { a.concat(b); return a.valueOf(); } alert(dateTodayTomorrow('Wednesday','Thursday')); </script> What message will appear in the alert box when this script is run in the browser?

Front

Wednesday

Back

When you embed JavaScript within an HTML document, in what document sections can you add the script?

Front

In the <head> and/or the <body> sections

Back

Which type of JavaScript error is typically caused by improper use of commands, and occurs after the script has loaded and is executing?

Front

Run-time error

Back

Which technique keeps images from exceeding the width of the screen?

Front

Fluid image

Back

Which CSS3 property is used to bind a selector to the animation defined in an @keyframes rule?

Front

animation-name

Back

Which JavaScript object can be affected by the onabort event handler?

Front

image

Back

While filling out a form, Oscar neglected to enter a value in the "Middle Initial" field, and then submitted the form. What variable data type will the "Middle Initial" field contain?

Front

Null

Back

Which History API method changes the URL in the browser window by adding a URL to the history stack?

Front

history.pushState()

Back

What is the purpose of the CSS3 @font-face rule?

Front

To enable developers to specify custom fonts for Web page elements

Back

On your Web page, you include various links and clickable images that have the ability to trigger various functions when users click them with the mouse. What term describes user-initiated action on a Web page?

Front

Event

Back

Which element is used to group related form fields on a Web page by creating a box around the related fields, to group and separate them?

Front

<fieldset>

Back

Question 37 : Conchita uses the CSS Box Model to help configure the space around each HTML element as she develops her Web pages. Which Box Model element defines the space between the HTML element and the border?

Front

Padding

Back

Which technology provides browsers with functionality that previously required users to install proprietary plug-ins?

Front

HTML5 APIs

Back

The pattern attribute can be used with the "url" input type. Which of the following would typically be the value used with the pattern attribute to ensure that either "http://" or "https://" is included in the user's input?

Front

"https?://.+"

Back

How can you link an HTML document to an AppCache manifest file named date.appcache?

Front

By adding the manifest="date.appcache" attribute to the <html> tag

Back

HTML comes in several versions. Which of the following includes the Transitional, Strict and Frameset "flavors"?

Front

HTML 4.01

Back

Which CSS3 property determines whether the page background extends into the border or not?

Front

background-clip

Back

Hugo has created an HTML document to which he has attached an external CSS style sheet containing styles that define all HTML elements in the document. Hugo wants to apply styles to his home page only that will override the style definitions of the attached style sheet. How can he accomplish this?

Front

Embed an internal style sheet.

Back

What is the default security algorithm used with the HTML5 <keygen> element?

Front

RSA

Back

Why is it essential to include operators in your script?

Front

To instruct the program how to store or manipulate a value in an expression

Back

Section 2

(5 cards)

You can use CSS to align images to text. Which of the following alignment options is the default alignment?

Front

Bottom

Back

Tamiko wants to make her Web pages HTML5-compliant and eliminate the need for site visitors to download plug-ins such as Adobe Flash, Microsoft Silverlight or Apple QuickTime to view her video files. What can Tamiko do to accomplish this?

Front

Incorporate the <video> element in her Web pages

Back

Which statement most accurately describes the relationship between JavaScript and Java?

Front

JavaScript and Java are unrelated.

Back

Which type of CSS effect allows you to rotate an element clockwise to a new position without animation?

Front

2D transformation

Back

You can test your mobile site pages on a client emulator to ensure:

Front

cross-browser and device compatibility.

Back