使用input标签的时候报错,提示Form elements must have labels: Element has no title attribute Element has no placeholder attribute

发布时间 2023-07-11 17:19:18作者: DbWong_0918

使用input标签的时候报错,提示Form elements must have labels: Element has no title attribute Element has no placeholder attribute

大概就是下面这样

image

其实规范化一下,加个label就可以了

image