单项选择题

如果要在表单中创建一个单选框,以下写法中的正确的是()。

A.〈input type="text"〉
B.〈input type="password"〉
C.〈input type="checkbox"〉
D.〈input type="radio"〉