Final Exam
The syntax for CSS comments looks like ____.
/* comments go here */
In the following code snippet, what value is given for the left margin: margin: 5px 10px 3px 8px;
8px (TRBL)
The Document Type Definition or the DOCTYPE for HTML5 looks like:
<!DOCTYPE html>
How to properly define a link:
<a href="news.html">Important News</a>
What tag pair is used to create the largest headings in HTML?
<h1>...</h1>
Use the ____ HTML element to associate a web page with an external style sheet.
<link>
What type of HTML list will automatically place a number in front of the list of items?
<ol>
The _____ was the predecessor to the Internet.
ARPANet
HTTP is fundamentally _______.
An IP-layer protocol for web pages; and/or a client-server protocol.
The information-carrying capacity of a communications medium like the Internet is called _______.
Bandwidth
Browsers often ____ web pages for quick reloading.
Cache
A(n) ____ contains information that directs a browser to the resource that the user wishes to access; _____ make such resources available to web clients.
DNS servers; web servers
Objects have the property of ______ -- although objects may know how to communicate with one another across well-defined interfaces, they are normally not allowed to know how other objects are implemented.
Encapsulation
(T/F) <h1>Share Your<strong>Travels</h1></strong> is an example of correct nesting in the Document Object Model (DOM)
False
(T/F) A JavaScript array index is a floating-point value
False
Which of the following is not essential to the operation of the Internet: - distributed control - packet switching - HTTP - IP addressing
HTTP
A JavaScript anonymous function _______.
Has no identifier after the keyword function and can be registered as an event handler at the same time it is created.
A(n) ____ is a numerical value that uniquely identifies the server on the Internet.
IP address
____ is the next-generation Internet Protocol that features built-in security and a new addressing scheme, significantly expanding the number of addresses available.
IPv6
The text contained between the <title>...</title> tags is displayed where?:
In the title bar of the browser window or tab.
XML-based syntax rules for XHTML require:
Lowercase, attributes always within quotes, all elements must have a closing element (or be self-closing).
With ______ development, individuals and companies contribute their efforts in developing, maintaining and evolving software in exchange for the right to use that software for their own purposes, typically at no charge.
Open source
The CSS box model consists of a content area surrounded by _____.
Padding, Border, and Margin.
____ is the standard for transferring encrypted data on the web.
SSL
The acronym TCP/IP stands for _____.
Transmission control protocol/Internet protocol
(T/F) A form can be used to pass information to a program of script on the web server.
True
(T/F) An HTML attribute is a name/value pair that provides more information about the HTML element.
True
(T/F) An HTTP request typically posts (or sends) data to a server.
True
(T/F) CSS3 is used to specify the presentation, or styling, of elements on a web page (e.g. fonts, spacing, sizes, colors. positioning).
True
(T/F) Each of the following can be used as CSS selectors: An HTML element, a class name, and an id name
True
(T/F) Ensuring a consistent look and feel on client-side browsers is one of the great challenges of developing web-based applications.
True
(T/F) Every HTML5 element in a page is represented by a DOM tree.
True
(T/F) HTML5 is a high-level language designed to specify the content and structure of web pages in a portable manner.
True
____ identify resources on the Internet.
URLs
The organization called the ___ is devoted to developing non proprietary, interopable technologies for the World Wide Web.
W3C
The organization called the _____ is devoted to developing non proprietary, interoperable technologies for the World Wide Web.
W3C
The two organizations actively involved on the HTML5 specification are:
W3C and WHATWG
How to display hyperlinks with no underline:
a { text-decoration: none; }
The focus event fires when ____________.
an element is clicked or selected using the tab key.
Which CSS attribute is used to change the text color of an element?
color
When the browser calls an event-handling function, it passes a(n) ______ to the function.
event object
The X in the XML specification stands for _____.
extensible
If you want to style multiple web pages on a web site in the same way, it is best to use:
external style sheets
The two most common HTTP request types are ___ and ____.
get; post
HTML documents normally contain ____, which, when clicked, load a specified web document.
hyperlinks
____ is a JavaScript library the simplifies JavaScript programming by making it easier to manipulate a web page's elements and interact with servers in a portable manner across various web browsers.
jQuery
When configuring a radio button form control, where only a single selection can be chosen, the value of the ___ attribute of each radio button must be the same.
name
The getElementById method returns a(n) _____.
object
In the following CSS code, em is the ______. --> em { color: red; }
selector
HTML markup is implemented via
tags (AKA elements)
(T/F) All browsers and all versions support every feature of HTML5.
False
(T/F) Client-side scripts can often access the server's file-directory structure.
False
(T/F) In modern web development, it is best to always use pixel measurements for font sizes.
False
(T/F) Inline elements cause a line break in the flow of text on the page.
False
(T/F) Like the other new HTML5 semantic elements, the browser applies special presentation to the <nav> element.
False
(T/F) When using the GET method to send form data, the data is hidden from the user.
False
(T/F) Keeping page styling together with the page content and structure enables you to change the look and feel of the pages on an entire website, or a portion of website.
False; Separate the two.
(T/F) A web server maintains a database of hostnames and their corresponding IP addresses, and performs the translations automatically.
False; that is the job of the DNS server.
(T/F) HTML5 is a markup language designed to specify the content and structure of web pages in a portable manner.
True
(T/F) HTML5 syntax allows case-insensitive tags, and self-closing tags.
True
(T/F) Inline styles only affect the element that is defined within and will override other styles for that element's property.
True
(T/F) JavaScript is a case-sensitive language.
True
(T/F) The content that displays in the browser is displayed in the body section.
True
(T/F) Visiting a web page using voice reading software can be a very frustrating experience for visually impaired users if the site does not use semantic markup.
True
When do you use a fully qualified, absolute URL in a hyperlink?
When linking to a page on an external web site.