ITC

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

which of the following selectors is most specific

#nav

assuming you have a radio button with an id of contact via which of the following statements selects that radio button

$ contact via checked = true

what character entity is created by the   character

(C)

Which of the following is a css class selector

.first_line

three inline elements are

<q>,<a>,and img

JavaScript code runs on the

Web Browser

the <a> element that follows <a href="update.html">Update</a>

displays "Update" as a link

var add = function(x,y)

displays a dialog box with a value of 8

the title element in the head section of an HTML document specifies the text

that displayed in the status bar of the browser

when you set the float property for an omg element to left

the block elements that follow it flow to the right of it

when you test an application with chromes developer tools and a breakpoint is reached you can click

the step into button to execute the current statement and move to the next statement

when you develop a web page you should use html to provide

the structure and content for the page

html is used to define

the structure and contents of a webpage

if you include two or more external style sheets in the head element of an html document

the styles are applied from the first style sheet to the last

for a textarea

the value property

instead of using span elements to identify portions of text for formatting you should

use html5 elements to identify the portions of css to format them

if two css declarations conflict which declarations override the other declarations

!important declaration in a web page

which of the following selectors applies to all <a> elements with a hot as their class name that are coded

#header a.hot

Three of the common CSS selectors select

by element type, id attribute, and class attribute

the easiest way to run a web page thats already in your browser after you've made changes to the code for the page is

click on the reload refresh button

if you're using Aptana to edit an HTML file, the easiest way to test it is to

click on the run button in Aptanas toolbar

which of the following is not one of the ways that you can specify a color in css

color: getColor("red);

the following code var display error = function (message)

creates a function and stores it in a variable named display_error

to format a web page you use

css

what event occurs then the user selects a new item form a select list

the change event

when the code of a font family property in a style rule

you can specify more than one font name

when you deploy a website you upload its folders and files from

your computer or network to a web server on the internet

when you use an external style sheet with an html document you get all but one of the benefits that follow

your css coding is simpler

when you use and external style sheet with an html document you get all but one of the benefits that follow which one is it

your css coding is simpler

after the if statement that follows is executed what will the value of discount amount be var discount amount

40.0

which of the following is an ending tag for an h1 element

</h1>

the omg element that follows <p><img src =

displays murach logo if the image can't be found

when the statement that follows is executes a message is displayed if the value in user entry if (!isnan(user entry )||

is a number or the value in userEntry is less than equal to zero

when the code that follows loaded into the browser <h2>about this book<h/2>

it displays "about this book" in the default h2 format

in html you can code a boolean attribute ad

just the attribute name

when a browser makes a request for a static web page the web server

returns the html for the page and the browser renders it

the portion of a web page that displays the most important content should be coded as an HTML5

section element

one of the benefits of using a browsers developer tools to inspect the styles that are applied to an html document is that you can

see how the styles from one source override the styles from another source

pseudo class selectors let you apply formatting

when specific conditions occur

the div element should only be used

when the semantic elements don't apply

to div should only be used

when the semantic elements don't apply

Example 3-1 the code for a list peakers

will be preceded by bullets

which of the following is a valid selector for a class named menu

.menu

which of the following is a valid selector for class named menu

.menu

if total months has a string value of 13 what does the if statement that follows display

1 years and 1 month

what will future value contain after the for loop has been executed one time var years = 10; var annual rate

1100

What will the value of the total string variable be after the following code is executed var totals 149.95, 212.95, 411, 10.95

141.95|212.95|312.95|10.95|

Assume userName equals "tom" and userAge equals 22.

22 is Toms age

How many times will the loop that follows executed var months = 5;

4

the img element that follows gets the image file from the images folder which is

<P><img src = ". ./images/logo.gif

to deploy a website you use

FTP

A valid html document requires

a head element and a body element within an html element

to apply the styles in an external style sheet to an html document you need to code

a link element in thread section

within a css style rule a declaration consists of

a property and a value

to apply the styles in a n external style sheet to

a style attribute for the body element

sometimes validating the HTML code for a web page will help you debug an application because

a trivial html error can cause other types of errors

code example 4-1 vard add = function(x,y)

accepts 2 parameters and returns 1 value

when a client requests a dynamic web page, the html is generated by

an application server

when a browser makes a request for a dynamic web page

an application server processes the request and returns the html to the web server

which of the following units of measurement is equal to the font size for the current font

an em

the code that follows has a bug in it because the second use of the variable named salestax

an error will occur because sales tax hasn't been declared

a child selector in css allows you to select elements that

are a direct descendant of an element

a child selector in css allows you to select elements that

are a direct descendent of an element

the omg element that follows gets the image file from the images folder which is <p> img

at the same level as the current t folder

for the following code and event handler named investment change is var investment

attached to the on change event of a control with an id of investment

you can use line returns tabs and spaces to align your html code

because whitespace is ignored by browsers

the class attribute

can be used by css to apply the same formatting to more than one element

which of the following statements is false? a javascript identifier

can start with a number

to view the changes that have been made to the DOM or a page by the javascript you can

display the html for the page in chromes elements panel

the <a> element that follows <a href

displays update as a link

now that html5 is used by all modern browsers the html div element should be used primarily for grouping

elements for javascript and query applications

when you comment out a portion of HTML code, you disable it by

enclosing it within these characters <!--and-->

when the statement that follows is executed javascript var rate = parse float (document. get Element by id

executes the getElementbyId method gets the value property of the resulting objected executes the parse float method on the value

css is used to

format the html elements of a web page

After the statements that follow executed var firstname = ray lastname

fullName ="Harris, Ray"

After you test a page in chrome the easiest way to test any changes that make to the html or css files for the page is to save the changes and then

go to chrome and click the reload button

which of the following is a css type selector

h1

if you want to apply styles to all <p> elements that are sibling s of an h1 element how do you code the selector

h1 p

if you want apply styles to all <p> elements that are siblings of an h1 element, how do you code the selector

h1~p

cross browser compatibility is a serious development issue because internet explorer and the other browsers don't always interpret

html, css ,and javascript the same way

which type of selector applies to only one element

id

In html you must enclose an attribute value within quotation marks

if it contains one or more spaces

the <a> element that follows goes to a web page < a href

in a folder that is subordinate to the current page

a coding error that produces the wrong results when the application is run is known as a

logic error

if you want to apply styles to all of the li elects within a main element how do you code the selector

main li

if you want to apply styles to all of the li elements within a main element how do you code the selector

main li

when you test and application with chromes developer tools

moving the mouse pointer over the name a variable in the sources panel

the order of the precedence for arithmetic expressions causes

multiplication operations to be performed before addition operations

how can you clear a checkfrom a checkbox object

sets its checked property to false

what does the code that follows do $ email firstchild

sets the text for the element with email as its id attribute

a meta element in the head section of an html document

should include up to 10 keyword or phrases

a meta element in the head section of an HTML document

should include up to 10 keywords or phrases

by the default the <br> tag

starts a new line of text

the title element on the head section of an html document specifies the text

thats displays in the status bar of the browser

example 4-2

the <p> elements in the main element with a a class named indent

to remove the focus from a control what method do you use

the blur method

what property of the radio object is used to determine if a radio button is selected

the checked property

after the statement that follows is executed rate text represents var ratetext

the html element with rate as its id attribute

if you right click on a web page and select view source or view page source

the html for the page will be displayed

if are then one style rule is applied to an element which style rule is applied

the one with the selector that has the highest specificity

if more than one style rule is applied to an element which style rule is applied

the one with the selector that has the highest specificity

the reba and hula colors that are available with css3 let you specify

the opacity of the color

the rgba and hsla colors that are available with css3 let you specify

the opacity of the color

to make sure that the ECMAscript 5 features will work in older browser you can use

the shim.js file

if you include two or more external style sheets in the head element of an HTML document

the styles are applied from the last style sheet to the first

to display data in a span element you can use the first child property

the value property

an http response is sent from

the web server to the client

to load a web page into a web browser you can

type the url of the web page into the browsers address bar

instead of using span elements to identify portions of text for formatting you should

use HTML5 elements to identify the portions and css to format them

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

which of the following is not one of the three testing phases of a javascript application

using the developer tools to check the DOM

which of the following is a valid statement for declaring and initializing a variable named length to a starting value of 120

var length = 120;


Conjuntos de estudio relacionados

CH 13 Businessowner Coverage Form

View Set

ASP Exam - Domain 3 (Ergonomics)

View Set

Infant and Child Development Chapter 8 Quiz

View Set

Exemplar 11.C - Traumatic Brain Injury (TBI)

View Set