Test xhtml_conform-BF-01.htm

This test covers basic support for all XHTML Modules required by the XHTML-Print Document Type. Results should be in complete sentences that make sense or as otherwise described. Every section must display some content.

Structure Module

This section contains the html, head, title, and body elements which are in the structure of this file but do not have visible printing artifacts.

Text Module

<abbr> element: 'Mr.' is an abbreviation for Mister.

<acronym> element: HTTP is an acronym for HyperText Transfer Protocol.

<address> element:

123 Main Street
Home Town, WA 98607
is an address.

<blockquote> element:

This entire section should be set off from the surrounding text as a block. This is some text to fill up the space. This is some text to fill up the space. Multiple lines should all be indented or otherwise set off no matter how many lines long it is. This is some more text. This is some more text. This is some more text.

<br> element:
There must be a line break before this line and again here -->
this text must be on the next line.

<cite>element: A citation may be set off by special formatting, but should be rendered inline. For example, see [HTML 4.01] for further details.

<code> element: The following is a line of code: foo=bar; It is often rendered in a monospace font, and should be inline.

<dfn> element: A definition for Markup Language is A way to add computer-understandable information to text files. It may be presented differently from surrounding text, but should be rendered inline.

<div> element: The following text must be rendered as a block (on a line by itself):

This line must be rendered as a block

<em> element: This line must be rendered in italic or in a way that differentiates it from the rest of the text!

<h1> element:

This line of text uses the h1 size of heading and must be the largest heading size

<h2> element:

This line of text uses the h2 size of heading and must be the same size or smaller than h1

<h3> element:

This line of text uses the h3 size of heading and must be the same size or smaller than h2

<h4> element:

This line of text uses the h4 size of heading and must be the same size or smaller than h3

<h5> element:

This line of text uses the h5 size of heading and must be the same size or smaller than h4

<h6> element:

This line of text uses the h6 size of heading and must be the same size or smaller than h5

<kbd> element: This element indicates text to be entered by the user. It should be rendered inline, and may or may not be rendered differently from surrounding text.

<p> element: The two sentences following this sentence should be set off as separate paragraphs:

Paragraph one: This sentence must be separate from the ones above and below it; yes, it's a bit of a run-on sentence, to be sure that text wraps around to form a paragraph with more than one line and in fact it will need to carry on and on a while longer, to be really sure the text will wrap on even a wide page...perhaps this is long enough?

Paragraph two: This sentence must be separate from the ones above and below it; yes, it's a bit of a run-on sentence, to be sure that text wraps around to form a paragraph with more than one line and in fact it will need to carry on and on a while longer, to be really sure the text will wrap on even a wide page...perhaps this is long enough?

<pre> element: In the following preformatted paragraph, the second line should be indented 8 characters from the line above it and the third line should be indented four characters from the line above it.

	The second line should be indented 8 characters
	        from the line above it and the third line should be indented
	            four characters from the line above it.        

	 

<q> element: Yogi Berra said, The future ain't what it used to be. The quotation may be presented in some distinguished manner, but should be rendered inline, and MUST be set off by quotation marks.

<samp> element: This element is used to tag sample output, such as: Not found: Please check the address and try again. Such messages may or may not be formatted differently from surrounding content, but should be presented inline.

<span> element: Provides structure for inline content. This text must start on the same line as the one on which the previous sentence ended.

<strong> element: Indicates emphasis. This sentence must be rendered in bold or in a way that differentiates it from the rest of the text!

<var> element: Indicates a variable or program argument. The variable name foo should be rendered inline.

Hypertext Module

<a> element: An anchor is rendered inline, and provides a hyperlink such as W3C. It should be presented in a manner which sets it off visually.

List Module

Definition Lists

<dl>, <dt>, <dd> elements: Below must be a list of three items with associated definitions:

fun
what we're having now...
and
a conjunction signifying union
games
what we play when we're bored.

Unordered Lists

<ul> and <li>: Below must be a list of 5 words:

Ordered Lists

<ol> and <li>: Below must be a list of 5 words ordered by arabic numerals, beginning at '1'.

  1. First item
  2. Second item
  3. Third item
  4. Fourth item
  5. Fifth item

Text Extension Module - Presentation

<b> element: This text should be bold. It should be inline with surrounding text.

<big> element: This text must be bigger than surrounding text. It should be inline.

<hr> element: There must be a horizontal rule (line) below this sentence, offset from surrounding text.


<i> element: The word italics MUST be italicized, and inline with surrounding text.

<small> element: This text must be smaller than surrounding text. It should be inline.

<sub> element: In the chemical formula for water, H2O, the '2' MUST be subscripted.

<sup> element: In the formula E = mC2, the 2 MUST be superscripted.

<tt> element: This text should be monospaced.

Basic Forms Module

<form>, <input>, <label>, <select>, <option>, <textarea> elements:

This text should be inline with a text input box and a label:

A menu offering two options MUST follow:

A text box 1 row high and about 20 columns wide MUST follow:

Basic Tables Module

<table>, <caption>, <th>, <tr>, <td> elements:

Table Caption
First NameLast Name
MaryContrary
JackBeanstalk

Image Module

See tests 2_3_2-BF-02.htm and 2_3_2-BF-02a.htm.

Object Module

See test 2_3_2-BF-02.htm.

Metainformation Module

This module does not have any printed content.

Scripting Module

Style Sheet Module

This text should be lime-colored, italic, and larger than normal.

Style Attribute Module

This text must be italic.

Link Module

See test 2_3_2-BF-04.htm.

Base Module

See test 2_3_2-BF-05.htm

End test xhtml_conform-BF-01.htm