<!doctype html> 
<html> 
 
<head> 
    <meta charset="utf-8"/> 
    <title>HTML&CSS(forDart)</title> 

    <style> 
    </style> 
</head> 
 
<body> 
<h1>Hey, <span style="color:MediumSeaGreen" id="name"></span></h1> 
<h2>Hi, <span style="color:SkyBlue" id="name2"></span></h2> 
<input type="text" id="name_box" title=""> 
<input type="submit" value="Say hey!" id="button"> 
<br/> 
<input type="text" id="name2_box" title=""> 
<input type="submit" value=" Say Hi! " id="button2"> 
 
 
<pre> 
説明: 
 テキストボックスに、入力して、ボタンを押す. 
</pre> 
 
 
<script type="application/dart" src="chap3.dart"></script> 
<script src="chap3.js"></script> 
</body> 
 
</html>