Exam Review Flashcards Preview

Web Foundations > Exam Review > Flashcards

Flashcards in Exam Review Deck (67):
1

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

2

Because all web browsers don’t interpret HTML and CSS the same way, a major web development issue is__________ compatability

cross-browser

3

In a web application, the client uses a ___________________________ to interact with a web server.

web browser

4

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

5

A web application starts when a client sends a/an ______________________ to a server.

http request

6

A __________________ web page is one that doesn’t change.

static

7

A _______________________ makes websites available to other computers over a network.

web server

8

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

9

In an HTTP URL, the ________________________ is coded immediately after the protocol but before the path.

domain name

10

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.

11

When you include JavaScript in a web application, the language is run by the JavaScript engine of the ______________________________.

web browser

12

To format a web page, you use _______________________.

Cascading style sheets

13

An intranet is a ______________________ area network that is used for web applications.

local

14

JavaScript code is run by the:
a) web server
b) application server
c) web browser
d) database server

web browser

15

Using the techniques that will help your website rank higher in search engine results is called _________________________________.

search engine optimization

16

When you _____________________ a website, you upload its folders and files from a WAN to an Internet Server.

publish

17

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

18

An HTTP response is sent from

the web server to client

19

An HTML document that’s generated by a web application is a ________________________ web page.

dynamic

20

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.

21

Websites that are designed to adapt gracefully to any screen size use a technique called _______________________________.

Responsive Web design

22

A _______________________ makes websites available to other computers over a network.

web server

23

In HTML, the body element provides the structure and ____________________ of the document.

content

24

One of the benefits of validating an HTML document is that it can solve some ____________________ problems.

testing

25

In HTML, you must enclose the value for an attribute in quotation marks if the value includes one or more____________________.

spaces

26

A CSS selector can refer to a specific HTML element by specifying the value of the element’s ________________________ attribute.

id

27

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

28

Three inline elements are

b, a, and img

29

________________________ refers to characters like tab characters, line return characters, and spaces that are ignored by the browser.

whitespace

30

When you start a new HTML file from a ______________________, you start from code that can be used for more than one HTML file.

template

31

In HTML, you can code a ____________________ attribute as just the attribute name.

boolean

32

A valid HTML document requires?

head and body

33

You should use the ______________ element to identify a section of a web page only when the HTML5 semantic elements don’t apply.

div

34

The portion of a web page that displays the most important content is commonly coded as an HTML5 ____________________ element.

main

35

A sidebar in a web page should be coded as an HTML5 ____________________ element.

aside

36

A series of navigation links should usually be coded within an HTML5 ____________________ element.

nav

37

A relative URL is relative to the ________________________ web page

current

38

By default, a browser displays each _________________ element on a new line.

block

39

To specify a color in a CSS rule, you can code a/an ____________________ value in percentages or in hexidecimal numbers.

RGB

40

If more than one rule set is applied to an element, the rule set with the selector that has the highest ______________________ is used.

specificity

41

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

42

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

43

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

44

To include a CSS file in an HTML document, you use the _______________________ element.

link

45

By default, the box for a block element is as tall as the _________________ requires.

content

46

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

47

In the box model, the border comes between the margin and the _____________________ for box.

padding

48

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

49

When you use ____________________ positioning with CSS, the other elements on the page are positioned as if the element wasn’t there.

absolute

50

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

51

If you want to use a __________________ page layout, you set the width of the page to a percent.

fluid

52

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

53

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

54

To stop an element from flowing into the space on the side of a floated element, you can code the ____________________ property.

clear

55

When you use ____________________ positioning with CSS, the positioned element doesn’t move in the browser window, even when you scroll.

fixed

56

When you use CSS to set the float property for an element, you should also set the ____________________ of the element.

width

57

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

58

A web __________________ provides space on a server that’s connected to the Internet.

hosting service

59

Before you can get a domain name, you need to have it checked against the names in the domain name ______________________________.

registry

60

You use a/an _______________________ program to transfer files to and from the web server.

FTP

61

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

62

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

63

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

64

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

65

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

66

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

67

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