ZVON > References > XHTML Reference
   Frameset XHTML   >> Frameset << | Strict | Transitional |  

Go to Standard
Element: pre
Attributes: | class | dir | id | lang | onclick | ondblclick | onkeydown | onkeypress | onkeyup | onmousedown | onmousemove | onmouseout | onmouseover | onmouseup | style | title | width | xml:lang |
Parents: | applet | blockquote | body | button | center | dd | del | div | fieldset | form | iframe | ins | li | map | noscript | object | td | th |
Children: | #PCDATA | a | abbr | acronym | b | bdo | br | button | cite | code | del | dfn | em | i | input | ins | kbd | label | q | s | samp | script | select | span | strike | strong | textarea | tt | u | var |

Your browser display:
       Higher still and higher
         From the earth thou springest
       Like a cloud of fire;
         The blue deep thou wingest,
And singing still dost soar, and soaring ever singest.
Source [  Open as XHTML document  ]

<pre>
       Higher still and higher
         From the earth thou springest
       Like a cloud of fire;
         The blue deep thou wingest,
And singing still dost soar, and soaring ever singest.
</pre>

Your browser display:

If called with: John


Program:


#!/usr/bin/python
import sys

print "Hello " + sys.argv[1] + "!"


Outputs: Hello John!

Source [  Open as XHTML document  ]

<p>If called with:
     <kbd>John</kbd>
</p>
<hr/>
<h3>Program:</h3>
<pre>

     <code> #!/usr/bin/python import sys print "Hello " +
          <var>sys.argv[1]</var> + "!"
     </code>

</pre>
<hr/>
<p>Outputs:
     <samp> Hello John! </samp>
</p>