Advanced Web Design Midterm

¡Supera tus tareas y exámenes ahora con Quizwiz!

When using a link tag to link to an external style sheet, use the media attribute to specify _____ for tactile feedback devices; or embossed, for Braille printers.

braille

JavaScript is _____ sensitive.

case

CSS frameworks save work on a larger sites that require multiple styling options. On the negative side, that means extra _____ that you may not use.

code

Unlike horizontal margins, vertical margins _____.

collapse

Saturation represents the amount of _____, with 100% being fully saturated and 0% being grayscale.

color

By using console.log, you can write a message to the _____.

console

HTML5 is a collection of features and abilities, and as an early adaptor, you must be aware of _____ differences.

cross-browser

By using Firebug, you will be able to do JavaScript _____.

debugging

Code minification is used for one reason: to _____ the size of the JavaScript.

decrease

When we write CSS, we are overwriting the _____ with the styles that we want.

default browser styles

Classes and IDs should be _____ so that they give additional meaning to your markup.

descriptive

AJAX is JavaScript that updates parts of a webpage without reloading the CSS sheet.

entire page

CSS preprocessors are programs created to _____ CSS functionality.

extend

TRUE OR FALSE: All browsers use the same rendering engine to determine how your content appears on screen.

false

TRUE OR FALSE: An element cannot have both a background color and a background image.

false

TRUE OR FALSE: The very last step when formatting pages is to determine a heading strategy.

false

TRUE OR FALSE: If you code JavaScript improperly, you will receive error messages automatically.

false

TRUE OR FALSE: It is best practice to use non-breaking spaces (&nbsp) to add white space into your content, such as between words in a sentence

false

The best practice to generate document outlines is through the use of

headings

_____ does not change the original string.

slice

Whenever a browser encounters a script tag, it's going to

stop, execute code, and resume rendering the page

HTML language includes _____ that form elements on a page

tags

The rel attribute describes the relationship of the _____ to the _____.

target object; link object

To create a download attribute, _____

use boolean attributes

One way to react to an event in JavaScript is to

use the name of the element, then a dot, and then the name of the event.

An array is a single variable that holds multiple values. You can write an array using the code _____ .

var multipleValues = [ ]

What is the JavaScript code to return the current date and time?

var today = new Date ( );

An object allows you to gather _____ and _____ that belong together.

variables; functions

The goal purpose of CSS or Cascading Style Sheets is to control the _____ of web sites.

visual presentation

For whom is the "Normative References" section of a CSS specification generally intended?

web browser implementors

To create a loop, or iteration, replace the code "if" with _____.

while

Suppose you externalize all of the CSS styles for your site to a file called "mystyles.css" What do you need to add to the <head> section on each site page?

<link rel="stylesheet" href="mystyles.css">

What two paragraph tags do you need for each paragraph?

<p> </p>

To create a function, begin with the JavaScript word _____.

function

As opposed to writing JavaScript code inline, where would code be easiest to maintain?

in a separate file

An object allows you to gather _____ and _____ that belong together.

onblur

The only change needed to change an unordered list to an ordered list is to change the

parent tag

To target a specific screen size, use _____.

pixels

TRUE OR FALSE: Each block level element takes up its own line.

true

When it comes to H1 headings, _____.

you may use multiple H1s

The HTML5 DOCTYPE declaration is _____.

DOCTYPE HTML

What does DOM stand for?

Document Object Model

Modernizr allows you to do easy feature detection of both _____ and _____ features.

HTML5; CSS3

_____ are fixed units, while _____ are relative units, which means that font size will be relative to a device's default size.

Pixels; ems

A section is _____.

a thematic grouping of content

Where would you place the CSS reset styles?

above the site's custom styles

Fixed elements are considered to be absolutely positioned, but they're always positioned relative to the _____.

active viewport

Use a single equal sign to _____ , not check a value.

set a value

If you choose a free code editor, such as Brackets, preview works best in a(n) _____ browser.

Chrome

Named character entities are special codes that browsers use to display characters. The syntax begins with

&

JavaScript starts counting from

0

If you want to give the same styling to several selectors, what's the best method for grouping them together?

Add commas between the selectors.

The element and tag for a line break code is _____.

<br>

Which of the following is the tag for an unordered list?

<ul>

Which is one of the oldest and most respected frameworks?

Blueprint

In order to check JavaScript code, you can copy and paste your code into a program called

JSLint.

An HTML file is essentially a _____.

TXT file with a .htm or .html extension

_____ allows web authors to use fonts without worrying about whether they're installed on the client machine.

The @ font-face method

How do you write camelCase code?

The first word is lowercase, and for all subsequent words, the first letters are capitalized.

TRUE OR FALSE: The definition list is split into two parts: the term and the definition.

True

If a style sheet contains two paragraph selectors, the _____ selector will be the one that is applied.

last

Relative unit values are relative to the _____ of another property. 0/2

length

Floating an element means that it _____

moves

Without the body tag, there would be ____

no content whatsoever

The two-step process in dealing with fragment identifiers is having an ID attribute and an _____ followed by the ID value.

octothorpe character

Any code that seems to be detecting an actual browser or an actual platform, means that you are looking at very _____ code.

old

The ID attribute is unique. This means that you can use it _____.

only once per page

One difference between borders and outlines is that _____ do not add to the total width of an element.

outlines

CSS allows you to _____.

overwrite default browser styles

Absolute links must have well-formed URLs that include the _____ at the beginning.

protocol

When checking browser support, you are actually looking at _____.

rendering engines

At its most basic level, writing syntax contains two parts, the _____ and the _____.

selector; declaration

Directly after opening an HTML page, you will find ____

the document head

In the 1990s, web browser manufacturers were primarily interested in growing their market share. What effect did this have on web page design?

there was poor standardization of CSS specifications

You can author CSS in three ways: inline within the HTML, embedded in HTML page headers, or as external style sheets. What is the primary advantage of external style sheets?

they allow you to write a style once and apply it in many places

A class is a good choice for describing the contents of the div tag.

true

In JavaScript, parentheses indicate what the condition is.

true

TRUE OR FALSE: The box model describes the rules surrounding the physical properties of all HTML elements.

true

TRUE OR FALSE: Images are considered replaced content by browsers.

true

TRUE OR FALSE: Vendor prefixes allow browser manufacturers to add support for proprietary features - or features that are still in development.

true


Conjuntos de estudio relacionados

Module 9 Reading Assignment - Cardiovascular Diseases

View Set

Chapter 14: Statute of Frauds and Equitable Exceptions

View Set

GEB 1011 Business Principles Chapter 6 Smartbook

View Set

NSG 245 Ch 40- Musculoskeletal Care Modalities

View Set

Block 2 (HSFP) NEURAL CONTROL OF THE HEART & BLOOD VESSELS Dr. M

View Set