CSCI Final (Quiz #1 - Quiz #8)

Ace your homework & exams now with Quizwiz!

How would you link to the named fragment #jobs on the page employ.html from the home page of the site?

<a href="employ.html#jobs">Jobs</a>

Which code provides a hyperlink to an audio file called hello.mp3?

<a href="hello.mp3">Hello (Audio File)</a>

Use the HTML5 _______ element to configure a web page heading area.

header

Use of a copyrighted work for purposes suchas criticism, reporting, teaching, scholarship, orresearch is called ____________________.

Fair use

Which of the following statement is true about JavaScript?

JavaScript is an object-based scripting language

Select the item below that indicate the top-level domain name for the URL http://www.mozilla (Links to an external site.).com

com

Which of the following form controls would be appropriate for an area that your visitors can use to type in their e-mail address?

text box

Which of the following configures a class called side to float to the left?

.side { float: left; }

How do you select elements with class name "test"?

.test

Which character is used to indicate an end tag?

/

How do you insert a comment in a CSS file?

/* this is a comment*/

Which pseudo-element can be used to generate content that precedes an element?

:before

What is the correct HTML for creating a hyperlink?

<a href="http://www.wwu.edu">Western Washington University</a>

How can you make a numbered list?

<ol>

Which of the following is a network that covers a small area, such as a group of buildings or campus?

LAN

What happens when a browser does not supportthe video or audio element?

The fallback content, if it exists, will display.

Which of the following is an open-source videocodec?

Theora

Which of the following should you do when creating text hyperlinks?

Use a key phrase as a hyperlink.

Which CSS property specifies the background color of a table?

background-color

Which property is used to change the background color?

background-color

Which CSS property is used to change the text color of an element?

color

Which of the following attributes define a fragment identifier on a page?

id

Which CSS property specifies the distance between the cell text and the cell border?

padding

Which of the following is an image file that contains multiple small graphics?

sprite

How do you add a background color for all <h1> elements?

h1 {background-color:#FFFFFF;}

The ___________________ property configures a shadow effect on the text displayed within an element.

text-shadow

Which method of the window can be used to display a message to the user?

alert()

Which of the following is a technique for creating reusable JavaScript code?

define a function

A file that contains a Flash animation uses the ____________________ file extension

.swf

How do you display hyperlinks without an underline?

a {text-decoration:none;}

Which operator is used to assign a value to a variable?

=

Forms contain various types of _______________, such as text boxes and buttons, which accept information from a web page visitor.

form controls

Which CSS pseudo-class applies to the first element of a specified type?

:first-of-type

Which of the following is the code to invoke a function called isValid() when the user clicks the submit button?

<form method="post" action="URL" onsubmit="return isValid();">

Choose the correct HTML element for the largest heading:

<h1>

What does HTML stand for?

Hyper Text Markup Language

Which of these is not a recommended method to obtain graphics for your web site?

Right click and copy a graphic you like from any web site

Which of the following should you do to provide for usability and accessibility?

Supply text descriptions of audio and video files that appear on your web pages.

Who is making the Web standards?

The World Wide Web Consortium

Which of the following would a consistent website design not have?

a different background color on each page

Which of the following properties can be used to clear a float?

clear or overflow

Which of the following are the three most common methods for organizing websites?

hierarchical, linear, and random

Which of the following is the attribute used to indicate whether the style sheet is for printing or screen display?

media

Which HTML attribute is used to define inline styles?

style

Which attribute below can be applied to an anchor tag to open a link in a new browser window?

target

Which of the following causes an element to display as a block of content with white space above and below?

display: block;

Which of the following is the code for accessing the contents of an input box named userData on a form?

document.forms[0].userData.value

A(n) ________ is an image that is configured so that parts of the image can be used as one or more hyperlinks.

image map

How do you write "Hello World" in an alert box?

alert("Hello World");

Which meta tag is used to configure display for mobile devices?

viewport

The file extensions .webm, .ogv, and .m4v indicatetypes of ____________________ files.

video

Choose the item that creates an image link to the school.htm page when the school.gif graphic is clicked.

<a href="school.htm"><img src="school.gif" alt="school"></a>

Choose the correct HTML element to define emphasized text

<em>

The tag used to create a horizontal line on a web page is:

<hr>

Select the code below that associates a favorites icon named favicon.png with a web page document.

<link rel="icon" type="image/png" href="favicon.png">

What is the correct HTML for referring to an external style sheet?

<link rel="stylesheet" type="text/css" href="style.css">

Which HTML tag is used to define an internal style sheet?

<style>

Which HTML tag would configure a scrolling text box with the name "comments", 2 rows, and 30 characters?

<textarea name="comments" rows="2" cols="30"></textarea>

Which HTML tag pair is used to specify table headings?

<th> </th>

Which of the following organizations takes a proactive role in developing recommendations and prototype technologies related to the Web?

World Wide Web Consortium (W3C)

Which attribute of the form element is used to specify the name and location of the script that will process the form field values?

action

A(n) _________________________ is a protocol that allows software components to communicate--interacting and sharing data.

application programming interface (API)

What type of files are .wav, .aiff, .mid, and .au?

audio files

Select the code below that will configure a background image called parchment.gif for a web page using CSS.

body {background-image:url(parchment.gif); }

Which is the correct CSS syntax?

body {color: black;}

Use the ________________ property to configure rounded corners with CSS.

border-radius

You would like to conduct a survey and ask your web page visitors to indicate the web browsers that they use. Which of the following form controls is best to use for this purpose?

check box

Which of the following is correct to write "Hello World" on the web page?

document.write("Hello World")

Which of the following font units is recommended for mobile display?

em unit

What is the term used to describe a square icon that is associated with a web page and is displayed in the browser address bar or tab?

favicon

Which CSS property controls the text size?

font-size

The _______ pseudo-class can be used to modify the display of a hyperlink when a mouse pointer passes over it

hover

When the user positions the mouse pointer on a link, the browser detects which one of these events?

mouseover

Which of the following is an example of using a descendant selector to configure the anchor tags within the nav element?

nav a

Which of the following is the intended use of tables on web pages?

organizing information

The box model consists of a content area surrounded by:

padding, border, and margin

Which of the following is a container element used to configure responsive images?

picture

You work on a JavaScript project. How do you prompt users with messages and at the same requesting user inputs?

prompt()

Which property provides a way for you to rotate,scale, skew, or move an element?

transform

Which of the following is a mobile web design best practice?

Configure a single-column page layout.


Related study sets

Psych 200 CH 1-6 Mindtap quizzes

View Set

Unit 7 History Short Answer Study Guide

View Set

Chapter 43 Ethics and Values (Study the section on Professional guidelines [Nursing Code of Ethics] & Ethical issues in healthcare] ▪️highlighted asterisks ▪️

View Set

Project Management quiz questions Ch 7

View Set