x
 
<!DOCTYPE html>
<html>
<body>
<h3>演示如何创建 FIELDSET 元素</h3>
<p>点击按钮来创建包含文本的 FIELDSET 元素。</p>
<button onclick="myFunction()">试一下</button>
<script>
function myFunction()
{
var x = document.createElement("FIELDSET");
var t = document.createTextNode("Insert content here...");
x.appendChild(t);
document.body.appendChild(x);
}
</script>
</body>
</html>