samp

samp
HTML samp Element
The HTML <samp> sample output element is used to render the output of a computer program.

HTML CODE EXAMPLE
In the form you specified "<samp>25</samp>" as your age. Is that correct?
 
In the form you specified "25" as your age. Is that correct?
Now let's use it to render code on the page, and preserve its whitespace using <pre>.
HTML CODE EXAMPLE
<samp style="color:#090;">
  <pre>
    $areWeAlone = false;
    if ($areWeAlone == true) {
      echo "<h2>Hello World!</h2>";
    } else {
      echo "<h2>Hello Universe!</h2>";
    }
  </pre>
</samp>
 
 
    $areWeAlone = false;
    if ($areWeAlone == true) {
      echo "<h2>Hello World!</h2>";
    } else {
      echo "<h2>Hello Universe!</h2>";
    }
  

0 Response to "samp"

Post a Comment