Exam Review Flashcards
To load a web page into a web browser, you can
a) click the browser’s Back button
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) type the URL of the web page into the browser’s address bar
To load a web page into a web browser, you can type the URL of the web page into the browser’s address bar
Because all web browsers don’t interpret HTML and CSS the same way, a major web development issue is__________ compatability
cross-browser
In a web application, the client uses a ___________________________ to interact with a web server.
web browser
To view the source code for a web page in any browser, you can?
a) right-click the page and then select the View Source or View Page Source command
b) click the Menu icon and then select the More Tools–>View Source command
c) select the View Source command from the File menu
d) none of the above
To view the source code for a web page in any browser, you can
right-click the page and then select the View Source or View Page Source command
A web application starts when a client sends a/an ______________________ to a server.
http request
A __________________ web page is one that doesn’t change.
static
A _______________________ makes websites available to other computers over a network.
web server
To load a web page from an intranet into your web browser, you can
a) type just the domain name into the address bar
b) click on the Load or Reload button
c) type just the file name into the address bar
d) use the Open or Open File command in the File menu
To load a web page from an intranet into your web browser, you can? use the Open or Open File command in the File menu
In an HTTP URL, the ________________________ is coded immediately after the protocol but before the path.
domain name
Which of the following is NOT a guideline for user accessibility?
a) Make sure that any essential information in images is also provided in text.
b) Make sure that each page will run in all browsers.
c) Provide text that is easy to read.
d) Make sure all links can be accessed with the keyboard.
Which of the following is NOT a guideline for user accessibility?
Make sure that each page will run in all browsers.
When you include JavaScript in a web application, the language is run by the JavaScript engine of the ______________________________.
web browser
To format a web page, you use _______________________.
Cascading style sheets
An intranet is a ______________________ area network that is used for web applications.
local
JavaScript code is run by the:
a) web server
b) application server
c) web browser
d) database server
web browser
Using the techniques that will help your website rank higher in search engine results is called _________________________________.
search engine optimization
When you _____________________ a website, you upload its folders and files from a WAN to an Internet Server.
publish
When a client requests a dynamic web page, the HTML is generated by
a) a database server
b) the web server
c) the web browser
d) an application server
an application server
An HTTP response is sent from
the web server to client
An HTML document that’s generated by a web application is a ________________________ web page.
dynamic
Which of the following is NOT a guideline for usability?
a) Include a navigation bar in the header.
b) Include a logo that goes to the home page.
c) Make sure that pages are easy to work with on smaller devices.
d) Present as much critical information as possible “above the fold”.
Make sure that pages are easy to work with on smaller devices.
Websites that are designed to adapt gracefully to any screen size use a technique called _______________________________.
Responsive Web design
A _______________________ makes websites available to other computers over a network.
web server
In HTML, the body element provides the structure and ____________________ of the document.
content
One of the benefits of validating an HTML document is that it can solve some ____________________ problems.
testing
In HTML, you must enclose the value for an attribute in quotation marks if the value includes one or more____________________.
spaces
A CSS selector can refer to a specific HTML element by specifying the value of the element’s ________________________ attribute.
id
One way to run a web page that’s on your computer is to find the file for it using your system’s file _________________ and double-click on it.
explorer
Three inline elements are
b, a, and img
________________________ refers to characters like tab characters, line return characters, and spaces that are ignored by the browser.
whitespace
When you start a new HTML file from a ______________________, you start from code that can be used for more than one HTML file.
template
In HTML, you can code a ____________________ attribute as just the attribute name.
boolean
A valid HTML document requires?
head and body
You should use the ______________ element to identify a section of a web page only when the HTML5 semantic elements don’t apply.
div
The portion of a web page that displays the most important content is commonly coded as an HTML5 ____________________ element.
main
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
By default, a browser displays each _________________ element on a new line.
block
To specify a color in a CSS rule, you can code a/an ____________________ value in percentages or in hexidecimal numbers.
RGB
If more than one rule set is applied to an element, the rule set with the selector that has the highest ______________________ is used.
specificity
A child selector in CSS allows you to select elements that
a) are any descendant of an element
b) have an attribute that matches the specified child
c) have a class that matches the specified child
d) are a direct descendant of an element
are a direct descendant of an element
The normalize.css style sheet
a) Forces older browsers to recognize the HTML5 semantic elements
b) Causes all browsers to use their default styles instead of the styles in the user style sheet
c) Adds the HTML5 semantic elements to the browser’s DOM
d) Causes all browsers to render HTML elements the same way
Causes all browsers to render HTML elements the same way
Pseudo-class selectors let you apply formatting
a) to elements that specify multiple classes
b) when specific conditions occur
c) to selected portions of text
d) when a button control is clicked
when specific conditions occur
To include a CSS file in an HTML document, you use the _______________________ element.
link
By default, the box for a block element is as tall as the _________________ requires.
content
You use a reset selector to
a) set the font sizes for all text elements to their defaults
b) set inherited properties to their default values
c) set the margins and padding for all elements to zero
d) set the background color for all elements to white
set the margins and padding for all elements to zero
In the box model, the border comes between the margin and the _____________________ for box.
padding
If you want to use padding to control the spacing before and after h2 elements, you should start by setting the ____________________________ for those elements to zero.
margin
When you use ____________________ positioning with CSS, the other elements on the page are positioned as if the element wasn’t there.
absolute
When you set the position property for a block element to fixed, the element
a) moves when you scroll in the browser window
b) can’t overlap other elements on the web page
c) is positioned relative to the browser window
d) always appears in the top left corner of the browser window
When you set the position property for a block element to fixed, the element is positioned relative to the browser window
If you want to use a __________________ page layout, you set the width of the page to a percent.
fluid
When you set the position property for a block element to absolute, the browser
a) positions the element relative to the browser window
b) keeps the element in the flow of elements on the web page
c) takes the element out of the flow of elements on the web page
d) doesn’t allow the element to overlap other elements on the web page
takes the element out of the flow of elements on the web page
When you set the float property for a block element to left, the elements that follow it will flow into the space
a) to the right of the floated element
b) to the right of the floated element if there’s enough space
c) to the left of the floated element if there’s enough space
d) to the left of the floated element
to the right of the floated element if there’s enough space
To stop an element from flowing into the space on the side of a floated element, you can code the ____________________ property.
clear
When you use ____________________ positioning with CSS, the positioned element doesn’t move in the browser window, even when you scroll.
fixed
When you use CSS to set the float property for an element, you should also set the ____________________ of the element.
width
For a three-column layout, you can
a) code the main content and asides in any sequence and then float the first aside and the main content to the left and the second aside to the right
b) float the main content in the center and let the asides flow around it
c) code the main content and asides in any sequence and then float them all to the left
d) code the main content and asides in sequence from left to right and then float the first aside to the left and the second aside to the right
code the main content and asides in any sequence and then float the first aside and the main content to the left and the second aside to the right
A web __________________ provides space on a server that’s connected to the Internet.
hosting service
Before you can get a domain name, you need to have it checked against the names in the domain name ______________________________.
registry
You use a/an _______________________ program to transfer files to and from the web server.
FTP
When you submit your website to a search engine, a _________________ crawls through the pages of your site and scores them for later use in searches.
robot
To stop search engines from including some of the pages in your website, you can create a robot.txt file and store it in the _________________ folder of your site.
root
To test a website after it has been uploaded to the web server for the first time, you need to do all but one of the following. Which one is it?
a) Check the formatting of each page
b) Check each link on each page to make sure it works
c) Check the contents on each page
d) Check each page to make sure that all images are in place
Check the contents on each page
When you upload one or more pages to a website, a common problem is
a) connecting to the wrong server
b) using the wrong names for the pages
c) overwriting pages that have the same names
d) not uploading all of the HTML, CSS, and image files that the page refers to
not uploading all of the HTML, CSS, and image files that the page refers to
When you submit your website to a search engine,
a) you submit only the URL of the home page
b) you submit only the pages that you want indexed
c) you can provide descriptive information that will help the engine place your site
d) you submit all of the pages of your site
you submit only the URL of the home page
After you submit your website to a search engine,
a) you need to submit it again whenever you make enhancements to it
b) you shouldn’t delete pages that are in the index
c) the robot periodically crawls through your site and re-indexes it
d) you can use a meta element to tell the robot how to score your page
the robot periodically crawls through your site and re-indexes it
You can use a meta tag to do all but one of the following. Which one is it?
a) Tell a search engine not to follow the links on the page
b) Redirect the user from an inactive page to an active page
c) Tell a search engine not to index a page
d) Redirect the user from a page that has been deleted to an active page
Redirect the user from an inactive page to an active page