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