代码示例:(标识:eg_html_inputfields)
<html>

<body>

<form>
名:
<input type="text" name="firstname">
<br />
姓:
<input type="text" name="lastname">
</form>

</body>
</html>
运行结果: