The CODE element brings up an example of code, typically rendered in a mono-spaced font usch as Lucia Bold. The CODE element is intended for short words or phrases of code and not long sentences or paragraphs;for that it is better to use the PRE block structuring element. An example of using the CODE element would be:

The expression x += 1
is short for x = x + 1.

another example is:

c = c +c**3

sources:
http://www.w3.org/MarkUp/html-spec/html-spec_5.html
http://publib.boulder.ibm.com/infocenter/pvcwesd/index.jsp?topic=/com.ibm.websphere.mcs.doc_3.2.3/elemref/ch04s11.html


Page Information

  • 11 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts