HTML < output > Tag - Learn About Website | DaddyFile
Latest News

0

HTML <output> Tag

Example

Perform a calculation and show the result in an <output> element:

<formoninput="x.value=parseInt(a.value)+parseInt(b.value)">0
  <input type="range" id="a" value="50">100
  +<input type="number" id="b" value="50">
  =<output name="x" for="a b"></output>
</form>


Definition and Usage

The <output> tag represents the result of a calculation (like one performed by a script).

Differences Between HTML 4.01 and HTML5

The <output> tag is new in HTML5.

Post a Comment

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top