input標(biāo)簽有哪些屬性 html5怎么使用input提交表單?
html5怎么使用input提交表單?<form action=“索引.php“Method=”post“><!--提交方法--><輸入類型=“文本”><!--提交內(nèi)容--
html5怎么使用input提交表單?
<form action=“索引.php“Method=”post“><!--提交方法--><輸入類型=“文本”><!--提交內(nèi)容--><輸入類型=“提交”><!--提交按鈕--></form>
希望采用~不懂可以問
是webstorm太聰明的結(jié)果。當(dāng)然,這個(gè)錯(cuò)誤可以忽略,但是遵循HTML5標(biāo)準(zhǔn),webstorm實(shí)際上希望您向<InputType=“text”/>或<textarea></textarea>添加標(biāo)簽或占位符屬性,例如<label><InputType=“text”value=“請(qǐng)輸入搜索內(nèi)容”class=“搜索詞”/></label><inputtype=“text”value=“請(qǐng)輸入搜索詞”/></label><inputtype=“text”value=“請(qǐng)單擊輸入搜索內(nèi)容”placeholder=“請(qǐng)輸入搜索內(nèi)容”class=“搜索詞”/>