HTML5: JavaScript & jQuery Enhancements

HTML5: JavaScript & jQuery Enhancements

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Common types of nodes: ____, ____, _____, _____

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

7 years ago

Date created

Mar 1, 2020

Cards (21)

Section 1

(21 cards)

Common types of nodes: ____, ____, _____, _____

Front

element, text, attribute, comment

Back

Common JS command to 'cough' something up on the web page

Front

document.write(<whatever>);

Back

JS command to open another web page in another window

Front

window.open('myFile.html', 'myWindow', 'width= xx', height=yy');

Back

JavaScript can ____ the contents of a web page when the page is _____ or in response to a _____ action

Front

modify...loaded...user

Back

JS command to write a date (stored as a variable called 'today') on a web page, nested in a paragraph

Front

document.write("<p>"+ today.toDateString() + "</p>";

Back

A common 'trigger' keyword used to start an event

Front

onclick

Back

An event is usually an action the user performs with a _____ or ______

Front

mouse ... keyboard

Back

According to the DOM, each element of a web page is represented as a ____ in the DOM

Front

node

Back

Option in "Web Developer Toolbar" that let's you view the page source after it has been run by a browser, especially if there were scripts that were processed

Front

"View Generated Source"

Back

If a script element is coded in the body of a document, it is _____ by the output of the JS code when the web page has been rendered

Front

replaced

Back

An HTML document must be ____ before and after a script runs

Front

valid

Back

With HTML5, this attribute may be omitted from the <script> tag, but older versions of HTML required it

Front

type="text/javascript"

Back

The JS code that is executed is in response to an event that is called a(n) _____ ______

Front

event handler

Back

JavaScript command to get the current date and store it in a variable called 'today'

Front

var today=new Date();

Back

True or false: You can have more than one <script> element on a given web page

Front

true

Back

Client-side processing helps an application run _____ than server-side processing

Front

faster

Back

DOM _____ lets you use _____ to update a web page in response to user actions that are called _____

Front

scripting...JavaScript...events

Back

This HTML tag should ALWAYS be used in the event JavaScript is disabled by the user

Front

<noscript>

Back

Common JS keyword used to automate typical tasks you want to do possibly many times

Front

function

Back

The noscript element is used to display content when JS is _____ in a user's browser

Front

disabled

Back

JavaScript code is executed in the web _____ by it's _____; this is referred to as _____-_____ processing

Front

browser...engine...client-side

Back