要在HTML 页面中设计如下所示的表单,应将下拉框 type 属性设置为( )

免费题库2022-08-02  52

问题 要在HTML 页面中设计如下所示的表单,应将下拉框 type 属性设置为(  )A.timeB.dateC.datetime-localD.datetime

选项 A.time
B.date
C.datetime-local
D.datetime

答案 B

解析 根据题图所示的表单样式可知,需要插入的是一个日期表单,在HTML中,日期表单名为date, time 是时间表单,datetime-local 是HTMLS中的新建对象,设置的是日期加时间表单。D选项干扰项。
转载请注明原文地址:https://www.tihaiku.com/congyezige/2430822.html

最新回复(0)