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>";
    }
  

Related Posts :

  • img img HTML img Element The HTML <img> element is used to render image media like … Read More...
  • html html The <html> element is the root element of your html document. You can place… Read More...
  • i i HTML i Element The <i> element is used to italicize text. HTML CODE EXAMPLE … Read More...
  • hr hr HTML hr Element The HTML <hr> element is used to designate a horizontal rule… Read More...
  • iframe iframe HTML iframe Element The <iframe> element is used to insert an independe… Read More...

0 Response to "samp"

Post a Comment