CIST 1510 - Web Development - Ch.1 Quick Checks

CIST 1510 - Web Development - Ch.1 Quick Checks

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

What element do you use to mark the beginning and end of an HTML document?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

2 years ago

Date created

Mar 1, 2020

Cards (25)

Section 1

(25 cards)

What element do you use to mark the beginning and end of an HTML document?

Front

<html> </html>

Back

What error was made in the following HTML code?: <head> <title>Customer Comments Form </head> </title>

Front

The title tag should be closed before the head tag, not after. Correct code: <head> <title>Customer Comments Form </title> </head>

Back

You want to add the graphic file portrait.gif to your Web page as an inline image. For nonvisual browsers, your page should display the text "David Vinet" in place of the image. Specify the code to do this.

Front

<img src="portrait.gif" alt="David Vinet" />

Back

What code would you enter to display the following text as a paragraph in your Web page? Include both the block-level and inline element tags. Hamlet, a play by William Shakespeare.

Front

<p><i>Hamlet</i>, a play by William Shakespeare.</p>

Back

Specify the code to mark the main heading on your Web page.

Front

<h1>Main Heading</h1>

Back

How do HTML documents differ from documents created with a word processor such as Word or WordPerfect?

Front

HTML documents do not specify the appearance of a document, they describe the purpose of different elements in he document and leave it to the web browser to determine the final appearance. A word processor specifies exactly the appearance of each document element.

Back

The following is a dialog from Shakespeare's Hamlet. Indicate how you would use a definition list to mark up this text, distinguishing between the speaker and the lines spoken. HAMLET There's ne'er a villain dwelling in all Denmark; but he's an arrant knave. HORATIO There needs no ghost, my lord, come from the grave to tell us this.

Front

<dl> <dt>HAMLET</dt> <dd>There's ne'er a villain dwelling in all Denmark; but he's an arrant knave.</dd> <dt>HORATIO</dt> <dd>There needs no ghost, my lord, come from the grave to tell us this.</dd> </dl>

Back

What is a deprecated feature?

Front

A deprecated or phased out feature is an older feature of HTML. They may not be supported by current or future browsers, but they may be necessary to support older browsers.

Back

Specify the code you would enter to mark the text "Hamlet by William Shakespeare" as a centered h1 heading with a line break after the word "Hamlet."

Front

<h1 style="text-align: center">Hamlet<br /> by William Shakespeare</h1>

Back

If you want to add an extra blank line between paragraphs on your Web page, why can't you simply add an extra blank line to the HTML file?

Front

HTML treats each occurrence of white space (spaces, tabs and line breaks) as a single blank space. HTML makes no difference between the different types of white spaces. Use white spaces to make the HTML code more readable.

Back

What is ISO-8859-1?

Front

ISO-8859-1 is a character set that supports 255 characters and can be used by most languages that use the Latin alphabet.

Back

What code would you enter in your document to set the page title to "Technical Support"? Where would you enter this code?

Front

<title>Technical Support</title> The element would be entered in the head section of the document, between the <head> and </head> tags.

Back

Specify the code you would enter to display the text "<h2>Hamlet</h2>" on your Web page.

Front

&lt;h2&gt;Hamlet&lt;/h2&gt;

Back

Specify the code you would use to display the seasons of the year (Winter, Spring, Summer, and Fall) as an unordered list.

Front

<ul> <li>Winter</li> <li>Spring</li> <li>Summer</li> <li>Fall</li> </ul>

Back

Specify the code you would enter to display the text "Product List" as an h2 heading, centered horizontally on the page.

Front

<h2 style="text-align: center">Product List</h2>

Back

What is a Web server? What is a Web browser? Describe how they work together.

Front

Web pages are stored on Web servers, which are computers that make Web pages available to any device connected to the Internet. To view a Web page, the end user's device needs a software program called a Web browser, which retrieves the page from the Web server and renders it on the user's computer or other device.

Back

Specify the code needed to add the comment "Page Updated on 4/15/2011" to an HTML file.

Front

<!-- Page Updated on 4/15/2011 -->

Back

The trademark symbol ™ has the Unicode number 8482. How would you enter this symbol into your Web page?

Front

&#8482;

Back

Specify the code you would enter to add three consecutive blank spaces to your Web page.

Front

&nbsp;&nbsp;&nbsp;

Back

What are the two generic page elements?

Front

<div>content</div> <span>content</span>

Back

What is the difference between a block-level element and an inline element?

Front

A block-level element contains content displayed in a separate section within the page, setting it off from other blocks, such as paragraphs and headings. An inline element is part of the same block as its surrounding content, for example individual words or phrases within a paragraph. Inline elements do not support alignment attributes.

Back

What is a presentational attribute? What is a reason for using presentational attributes? What is a reason for avoiding them?

Front

Presentational attributes define how the browser should render an element. Almost all presentational attributes have been deprecated in favor of styles. HTML should inform the browser about the content of the document, while styles inform the browser how the content is rendered. Use presentational attributes to support older browsers.

Back

What is a hypertext document?

Front

A document with information organized and presented in whatever order is requested by the user (versus linearly) using links to other parts of the document.

Back

Specify the tag to mark an extended quotation. How would that quotation be rendered in most visual browsers?

Front

<blockquote>Extended Quotation</blockquote> Plain text indented from the left and right

Back

The Greek letter b has the character entity name of "beta." How would you enter this symbol into your Web page?

Front

&beta;

Back