<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title> Output 2 </title>
    <meta name="author" content="Administrator"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css"
      href="html5-form-output2.css" title="style1"/>
      
      
    </head>
    
<body>
  <h1>Output-Element</h1>
  <form onsubmit="return false" oninput="o.value = parseInt(a.value) + parseInt(b.value)">

    <input name="a" id="a" type="number" step="any"/> +
      <input name="b" id="b" type="number" step="any"/> =
        <output name="o" for="a b" />
      </form>
      
    </body>
    
  </html>
  
  
  
  
  
  
  
  
  
  
  
  
  
  



