Web Applications Sebesta 5e 2009 Chap 2

Web applications XML, HTML, XHTML various. All flashcard questions come from Programming the World Wide Web 2009 Fifth Edition Robert W. Sebesta, Chapter 2

28 cards   |   Total Attempts: 188
  

Related Topics

Cards In This Set

Front Back
What does the <code> tag specify for its content?
Distinguishes text that is computer code from normal language
What does it mean for a tag or attribute of XHTML to be deprecated?
Deprecated means that they will be dropped at some time in the future.
What is the form of an XHTML comment?
<! -- Anything except 2 adjacent dashes -- >
How does a browser treat line breaks in text to be displayed?
The <br/> tag inserts a single line break.
What tag is used to define a link?
<a > - Links are specified in an attribute of an anchor tag (<a>), which is an inline tag. href specifies the target of the link.
What is the difference in the effect of a paragraph tag and a break tag?
The paragraph tag inserts a blank line.
How do browsers usually set block quotations differently from normal text?
In many cases the <blockquote> tag can be used for indenting the text on the left side, right side, or both. Another possibility is that the block is set in Italics.
What are the differences between the JPEG and GIF image formats?
GIF images · Support transparency · Uses 8 bit color representations for pixels, allowing a pixel to have 256 different colorsJPG images · Uses 24 bit color representations for pixels, which allows JPEG images to include more than 16 million different colors. · Better at shrinking an image than the one used by GIF – loses indiscernable colors · JPG is usually the preferred one.
  1. What is the form of the value of the href attribute in an anchor tag when the target is a fragment of a document other than the one in which the link appears?
When the target is a part of the fragment of another document, the name of the part is specified at the end of the URL, separated by a pound sign (#), like:
<a href = “AIDAN.html#avionics”> Avionics </a>
  1. What are the two required attributes of an <img /> tag?
In its simplest form, the image tag includes two attributes:
o Src – specifies the file containing the image
o Alt – specifies the text displayed when the image does not display
  1. What attribute is required in all anchor tags?
Href
Which heading tags use fonts that are smaller than the normal font size?
<h5> and <h6>
Does XHTML allow nested links?
No
How is the target of a link usually identified in a case where the target is in the currently displayed document, but not at its beginning?
If the target is in the same document as the link, the target is specified in the href attribute attribute value by preceding the id value with a pound sign (#), as in the following example:
<a href=”#avionics”>What about avionics?</a>
What is the default bullet form for the items in an ul?
Disc