code

code


The HTML <code> element is used to specify a fragmant of computer code within it. It is usually rendered as a monospace font that is smaller than the rest of the font on the page.
HTML CODE EXAMPLE
Here is a code example: 
<br /> 
<code>$ourVar = $myVar + $yourVar;</code> 
 
Here is a code example:
$ourVar = $myVar + $yourVar;

Attributes for this element:

global attributes - global core attributes
See: list of global attributes

Event handlers for this element:

global event handlers - global event handler attributes
See: list of global event handlers

Related Posts :

  • optgroup optgroup HTML optgroup Element The HTML <optgroup> options group element is used to group… Read More...
  • option option HTML option Element The HTML <option> option element is used to define the options… Read More...
  • p p HTML p Element The HTML <paragraph> element is used to specify a paragraph in the web … Read More...
  • param param HTML param Element The HTML <param> element is used to specify parameters that will… Read More...
  • output output HTML output Element NOTE: This new element is HTML5 and will be a standardized element i… Read More...

0 Response to "code"

Post a Comment