Web Programming

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

In CSS the universal selector is:

*

The simplest pattern matching method is search, which takes a pattern as a parameter. If there is no match, search returns:

-1

Given the HTML element: <p id="sales" class="sales">Sales Info</p> Which selector would I use to target this p element by class?

.sales

CSS comments follow which format:

/* Comments for styles go here */

JavaScript has how many primitive types?

6

The first line of every HTML document is:

<!DOCTYPE html>

The setTimeout method takes two parameters:

A string of JavaScript code to be executed and a number of milliseconds of delay before executing the given code.

___________ positioning used the left and top properties of an element to place the element at a position relative to the upper-left corner of the display of the document.

Absolute

The , , and events can be used to allow the user to drag and drop elements around the display screen.

Answer 1:mousedown Answer 2:mousemove Answer 3:mouseup

A powerful and efficient element placement control was implemented in 1997, called:

Cascading Style Sheetings-Positioning

The file structure of a generic Web server has two separate directories. What are the names of those separate directories?

Document Root and Server Root

Client-side JavaScript is a collection of objects that make the language useful on a Web server.

False

Fully qualified domain names are the addresses used internally by the Internet.

False

More than one radio button in a group can be selected at the same time.

False

The Internet and the Web are the same thing.

False

The JavaScript Document object represents the window that displays the document.

False

The default value for the position property is fixed.

False

Which of these is not a HTTP request method?

INSERT

Which large scale computer network eventually became "the Internet?"

NSFnet

__________ positioning is used to place an element at a specified offset from the top and left coordinates of where it would have gone with the default static positioning.

Relative

What is the single low-level protocol that allows most computers (and other devices) to communicate?

TCP/IP

What does a HTTP status code of 500 mean?

That the server has encountered a problem and was not able to fulfill the request.

Documents provided by servers on the Web are requested by browsers, which are programs running on client machines.

True

In CSS, the order in which the property values are given in a font value list is important.

True

Static positioning disallows both specific initial placement and dynamic moving of the element.

True

The DOM is an abstract interface whose purpose is to provide a language-independent way to access the elements of an HTML document.

True

The JavaScript while and for statements are similar to those of Java and C++.

True

The only essential field of the response header is the Content-Type.

True

Elements can be positioned at any given location in the display of the document if their position property is set to:

absolute or relative

Whenever the browser cannot or has been instructed to not display an image, which attribute of the <img> tag has its value displayed instead?

alt

What is the correct JavaScript syntax to change the content of the HTML element below? <p id="demo">This is a demonstration.</p>

document.getElementById("demo").innerHTML = "Hello World!";

What is the correct JavaScript syntax to change the font-size of the HTML element below? <p id="demo">This is a demonstration.</p>

document.getElementById("demo").style.fontSize = "20px";

HTML provides a collection of special characters that are sometimes needed in document but cannot be typed as themselves. These special characters are defined as:

entities

An ____________ is a notification that something specific has occurred, either in the browser, such as the completion of the loading of a document, or a browser user action, such as a mouse click on a form button.

event

The three levels of style sheets have precedence, in order from lowest precedence to highest precedence are:

external, document level, and inline

If an event handler returns __________ , that tells the browser not to perform any default actions of the event.

false

What element attribute is used when linking to targets within a document?

id

Which object indicates which browser is being used to view the HTML document?

navigator

JavaScript is a:

object-based language

HTTP consists of two phases, what are those phases?

request and response


संबंधित स्टडी सेट्स

History Reconstruction/Andrew Johnson

View Set

Management accounting seminar W25/1

View Set

The Mississippi River Runaways lesson

View Set

figure 9.4 (superior view of floor of cranial cavity)

View Set

Section 10: Common Mistakes Made in Texas Contracts

View Set