Version | //IETF//DTD HTML 2.0 Strict//EN
|
---|
Element | SAMP |
---|
Purpose | sample text or characters |
---|
Description | This element encloses text that is intended to be used as a sample or example. This is similar to the KBD element, but the SAMP element could be text that is input from or output to some other process.
|
---|
Start tag | Required <SAMP>
|
---|
Attributes | Name | Type | Default | Comment |
---|
SDAFORM | CDATA | #FIXED "Lit" | one to one mapping; in support of transformation to the International Committee for Accessible Document Design DTD for usable access to structured information by print-impaired individuals
|
|
---|
Content | ( #PCDATA | A | IMG | BR | EM | STRONG | CODE | SAMP | KBD | VAR | CITE | TT | B | I #PCDATA | A | IMG | BR )*
|
---|
End tag | Required </SAMP>
|
---|
Referenced in | A ADDRESS B CITE CODE DD DT EM H1 H2 H3 H4 H5 H6 I KBD LI P PRE SAMP
STRONG TT VAR
|
---|
Example | Source | Appearance |
---|
You will see <SAMP>END PROGRAM</SAMP> after it stops scrolling.
If it never stops, send the <SAMP>STOP PLEASE STOP</SAMP> command to the program.
| You will see END PROGRAM after it stops scrolling.
If it never stops, send the STOP PLEASE STOP command to the program.
|
|
---|