Chapter 1 Quiz
If you're using Aptana to edit an HTML file, the easiest way to test it is to
click on the Run button in Aptana's toolbar
Because different web browsers may not interpret HTML, CSS, and JavaScript the same way, a major web development issue is ______________________________ compatibility.
cross-browser
To format a web page, you use _______________________.
CSS
You should use the ______________ element to identify a section of a web page only when the HTML5 semantic elements don't apply.
div
When you include JavaScript in a web application, the language is run by the JavaScript engine of the ______________________________.
web browser
Within a CSS rule set, a rule includes
a property and a value
When a client requests a dynamic web page, the HTML is generated by
an application server
Three of the common CSS selectors select
by element type, id attribute, and class attribute
The class attribute
can be used by CSS to apply the same formatting to more than one HTML element
The easiest way to run a web page that's already in your browser after you've made changes to the code for the page is to
click on the Reload or Refresh button
In an HTTP URL, the ________________________ is coded immediately after the protocol but before the path.
domain name
An HTML document that's generated by a web application is a ________________________ web page.
dynamic
Now that HTML5 is used by all modern browsers, the HTML div element should be used primarily for grouping
elements for JavaScript and jQuery applications
A CSS selector can refer to a specific HTML element by specifying the value of the element's ________________________ attribute.
id
The ________________________ attribute is used to uniquely identify an HTML element.
id
Which of the following is NOT part of an HTTP URL:
node
If you're using the Chrome browser and a JavaScript application stops running due to an error in the JavaScript code, you can identify the statement that caused the error by
pressing F12 and reviewing the code in the Sources panel
To provide for ECMAScript 5 compatibility with older browers, you can use the a file named ____________________.
shim.js
You can use a JavaScript ________________________ to help older browsers recognize the HTML5 structural elements
shiv
To make sure that the ECMAScript 5 features will work in older browsers, you can use
the shim.js file
To load a web page into a web browser, you can
the the URL of the web page into the browser's address bar
An HTTP response is sent from
the web server to the client
To load a web page from a local server into your web browser, you can
use the Open or Open File command in the File menu
In a web application, the client uses a ___________________________ to interact with a web server.
web browser
JavaScript code runs on the
web browser