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

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

大概就是下面这样

image

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

image

posted @ 2023-07-11 17:12  DbWong_0918  阅读(2404)  评论(0)    收藏  举报