comp 253 1

Ace your homework & exams now with Quizwiz!

Which HTML element typically contains the main content of a web page? section div main span

main

To interact with a web server, the client for a web application typically uses a: web browser Internet service provider local area network JavaScript engine

web browser

When a client requests a dynamic web page, the HTML is generated by: the web server an application server the JavaScript engine the web browser

an application server

The quickest way to re-run a web page that's already in your browser after you've made changes to the code for the page is to: click on the Reload or Refresh button use the Open command in your browser type just the filename into the address bar type just the domain name into the address bar

click on the Reload or Refresh button

Which of the following is a valid CSS selector for a class named menu? menu #menu .menu > menu

.menu

What elements would the style rule that follows apply to? .red { color: red; } The only element with an id of red All elements with an id of red The only element with a class named red All elements with the class named red

All elements with the class named red

Which version of EcmaScript is also known as ES6? ES2014 ES2015 ES2016 ES5

ES2015

Most modern browsers support recent ECMAScript specifications. Which of the following isn't considered a modern browser? Chrome Firefox Internet Explorer Edge

Internet Explorer

ECMAScript is a specification that provides a standard for: HTML CSS JavaScript jQuery

JavaScript

Within a CSS style rule, a property declaration includes: a selector and a declaration block a selector and a value a property and a selector a property and a value

a property and a value???

To make a website available to other computers over a network, the website is stored on: an application server a database server a web server the Internet

a web server

When a client requests a static web page, the HTML is: accessed from the web server generated by an application server accessed from a database server generated by the web browser

accessed from the web server

You can use a link element in an HTML document to provide: an embedded style sheet an external style sheet embedded JavaScript external JavaScript

an external stylesheet

The class attribute: can be applied to only one element in an HTML document determines the priority level of an HTML element determines the text that will be displayed when the mouse hovers over an element can be used by CSS to apply the same formatting to more than one HTML element

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

If you're using the Chrome browser and a JavaScript application stops running due to an error in the JavaScript code, you can view the statement that caused the error by first pressing F12. Then, you can: click on the link in the Console panel and review the code in the Sources panel click on the link in the Sources panel and review the code in the Console panel click on the link in the Elements panel and review the code in the Application panel click on the link in the Application panel and review the code in the Elements panel

click on the link in the Console panel and review the code in the Sources panel

Which HTML element can be used to group elements when none of the semantic elements apply? section div main aside

div

Suppose that a JavaScript application that's on your computer consists of an HTML file, a CSS file, and a JavaScript file. To run the application, you can: find the HTML file in your file system and double-click on it find the JavaScript file in your file system and double-click on it use the Open command in your browser to find and open the JavaScript file enter just the path and filename of the JavaScript file into your browser's address bar

find the HTML file in your file system and double-click on it

Which attribute uniquely identifies an HTML element? name id class for

id

Which type of selector would you use to refer to a specific HTML element? a type selector an id selector a class selector a span selector

id selector

Which of the following is NOT part of an HTTP URL: protocol path node filename

node

What sequence of components does an HTTP URL consist of before the filename? domain name, protocol, path path, protocol, domain name protocol, domain name, path protocol, path, domain name

protocol, domain name, path

JavaScript code is run by: a database server an application server the JavaScript engine on the database server the JavaScript engine in the web browser

the JavaScript engine in the web browser

When you develop a web page, you use an HTML file to provide: the content for the page the structure and content for the page the content and formatting for the page the structure, content, and formatting for the page

the structure and content for the page

An HTTP response is sent from: the web server to the application server the application server to the web server the client to the web server the web server to the client

the web server to the client

Suppose that a JavaScript application on the Internet consists of an HTML file, a CSS file, and a JavaScript file. To run the application, you can: use the Open command in your browser to find and open the JavaScript file type the URL of the CSS file into the browser's address bar type the URL of the HTML file into the browser's address bar type the URL of the JavaScript file into the browser's address bar

type the URL of the HTML file into the browser's address bar


Related study sets

Chapter 45: Nursing Care of the Child With an Alteration in Tissue Integrity/Integumentary Disorder

View Set

Case Study: Streptococcus pneumoniae

View Set

Risks of Focused Strategies, Best-Cost Provider, Strategic Offensives, Defensive Strategies, Vertical Integration, Outsourcing, Strategic Alliances, International Strategies, Business Ethics, Corporate Social Responsibility

View Set

Call of the wild - there is more

View Set

Mendelian Genetics Lab Questions

View Set