Mid-Term Flashcards
In a web application, the client uses a ______ to interact with a web server.
browser
web browser
A _______________ makes web sites available to other computers over a network
web server
An intranet is a _____________ area network that is used for web applications
local
A web application starts when a client sends a/an ______________________ to a server.
request
HTTP request
A ___________ web page is one that doesn’t change.
static
An HTML document that’s generated by a web application is a ________________________ web page.
dynamic
The Mozilla Corporation publishes a web browser named ___________.
Firefox
When you include JavaScript in a web application, the language is run by the JavaScript engine of the _____________
browser
web browser
To format a web page, you use ____________.
CSS
Cascading Style Sheets
When you _____________ a web site, you upload its folders and files from a WAN to an Internet Server
deploy
publish
FTP
In an HTTP URL, the_____________ is coded immediately after the protocol but before the path.
domain
domain name
Because all web browsers don’t interpret HTML and CSS the same way, a major web development issue is _______________ compatibility
cross-browser
Using the techniques that will help your web site rank higher in search engine results is called _________
search engine optimization SEO
An HTTP response is sent from
a. the web server to the application server
b. the application server to the web server
c. the client to the web server
d. the web server to the client
d. the web server to the client
When a client requests a dynamic web page, the HTML is generated by
a. the web server
b. an application server
c. a database server
d. the web browser
b. an application server
Google publishes a web browser named
a. Safari
b. Opera
c. Chrome
d. Internet Explorer
c. Chrome
JavaScript code is run by the
a. database server
b. application server
c. web server
d. web browser
d. web browser
To load a web page into a web browser, you can
a. type the URL of the web page into the browser’s address bar
b. type just the filename of the web page into the browser’s address bar
c. type the domain name of the web page into the browser’s address bar
d. click the browser’s Back button
a. type the URL of the web page into the browser’s address bar
To load a web page from an intranet into your web browser, you can
a. click on the Load or Reload button
b. use the Open or Open File command in the File menu
c. type just the file name into the address bar
d. type just the domain name into the address bar
b. use the Open or Open File command in the File menu
To view the source code for a web page in the Firefox or IE browser, you can select the appropriate command from the
a. File menu
b. Source menu
c. View menu
d. Page menu
c. View menu
Which of the following is NOT a guideline for user accessibility?
a. Provide text that is easy to read.
b. Make sure all links can be accessed with the keyboard.
c. Make sure that any essential information in images is also provided in text.
d. Make sure that each page will run in all browsers
d. Make sure that each page will run in all browsers
In HTML, the body element provides the structure and ____________________ of the document.
content
In HTML, a/an ____________________ tag begins with a slash (/) followed by the name of the tag.
closing
In HTML, you must enclose the value for an attribute in quotation marks if the value includes one or more__________
spaces
In HTML, you can code a ____________________ attribute as just the attribute name
Boolean
When you comment out HTML code, you put the code within an HTML __________
comment
______________ refers to characters like tab characters, line return characters, and spaces that are ignored by the browser.
whitespace
A CSS rule set consists of a _______________________ and one or more rules.
selector
A CSS selector can refer to a specific HTML element by specifying the value of the element’s ________________________ attribute
id
When you start a new HTML file from a ______________________, you start from code that can be used for more than one HTML file.
template
When you edit a CSS or HTML file with an editor like Aptana, it usually provides both syntax coloring and auto __________
completion
If you’re using Internet Explorer to test a web page for the first time, you can find the file in the Windows _________________ and double-click on it
Explorer
When you _____________________ a web page, you load the page into a browser to see whether it works correctly.
test
When you _____________________ a web page, the page is processed by a program that tests whether all of the code is valid.
validate
One of the benefits of validating an HTML document is that it can solve some ____________________ problems
testing
A valid HTML document requires
a. a head element and a page element
b. a head element and a body element
c. a body element and a div element
d. a page element and a div element
b. a head element and a body element
Within a CSS rule set, a declaration (rule), includes
a. a selector and a declaration block
b. a selector and a value
c. a property and a selector
d. a property and a value
d. a property and a value
Three of the common CSS selectors select
a. by element type, id attribute, and class attribute
b. div, h1, and p elements
c. by element, header, and footer
d. h1, ul, and li elements
a. by element type, id attribute, and class attribute
To start a new CSS file from a template in Aptana, you a. open the template, add code to it, and save it with a new name
b. open the template and save it with a new name before you add code to it
c. create the new file and then copy and paste the template code into it
d. link to the template when you start the new file
d. link to the template when you start the new file
If you’re using Aptana to edit an HTML file, the easiest way to test it is to
a. find it in the Windows Explorer and double-click on it b. type it’s path and filename into your browser’s address bar
c. use the browser’s Open or Open File command in the File menu
d. click on the Run button in Aptana’s toolbar
d. click on the Run button in Aptana’s toolbar
When you’re using a Markup Validation Service,
a. the page won’t run in a browser if it isn’t valid
b. a trivial coding error can cause multiple validation errors
c. you can be sure that a validated page will work correctly in a browser
d. you need to validate all pages of your site
b. a trivial coding error can cause multiple validation errors
The ______________ element in the head section of an HTML document can provide data that is used by some search engines
meta
metadata
By default, a browser displays each _________________ element on a new line
block
To apply boldface to text with HTML, you can enclose the text within a/an _________________ element.
b
<b> </b>
strong
<strong> </strong>
A character ___________________ is a code that can be used to display a special character like a copyright symbol in a web page
entity
The ________________________ attribute is used to uniquely identify an HTML element
id
You should use the ______________ element to identify a section of a web page only when the HTML5 semantic elements don’t apply.
div
<div> </div>
The main portion of a web page is commonly coded as an HTML5 ____________________ element
section
A sidebar in a web page should be coded as an HTML5 ____________________ element
aside
A series of navigation links should usually be coded within an HTML5 ____________________ element
nav
A relative URL is relative to the ________________________ web page
current
A path that is relative to the root folder of a web site is called a/an ____________________ path
root-relative