Close this window

Using the <proof> tag

Description

The proof tag is used to present the proof or explanation of a rule. The statement and proof tags appear inside the rule tag to state a rule and to present the proof of the rule.

Example

This CNXML:


<rule id="py-rule" type="theorem">
  <title>Pythagorean Theorem</title>
  <statement id="py-statement">
    <para id="ruleexp1">
      On a right triangle, the sum of the squares of 
      the sides equals the square of the hypotenuse.
    </para>
  </statement>
  <proof id="py-proof">
    <para id="ruleexp2">
      <link url="http://en.wikipedia.org
           /wiki/Pythagorean_theorem#Proofs"
           window="new">
        Click here to see a few proofs.
      </link>
    </para>
  </proof>
</rule> 
        

Results in this display:

Theorem 1: Pythagorean Theorem

On a right triangle, the sum of the squares of the sides equals the square of the hypotenuse.

Attributes(what's this?)

Children(what's this?)

label (one, optional), title (one, optional), section, definition, example, figure, code, preformat, quote, note, media, list, table, rule, equation, exercise, para

Parents(what's this?)

rule
Close this window