我想要做的是增加輸入標記內文本區域的大小。我在谷歌上查找它,我得到的只是textarea標籤的解決方案,而不是輸入文本區域。在沒有CSS的情況下增加HTML輸入的textarea大小
<input type="textarea" name="skills" placeholder="list the skills you require here" required>
我想文本區是在寬度和高度更大。有沒有可能的方式來做到這一點,而不使用CSS
我想要做的是增加輸入標記內文本區域的大小。我在谷歌上查找它,我得到的只是textarea標籤的解決方案,而不是輸入文本區域。在沒有CSS的情況下增加HTML輸入的textarea大小
<input type="textarea" name="skills" placeholder="list the skills you require here" required>
我想文本區是在寬度和高度更大。有沒有可能的方式來做到這一點,而不使用CSS
修改行和列,並獲得textarea的派生寬度和高度。也刪除type =「textarea」,只需在元素textarea的開頭鍵入。實施例下面示出:
<textarea rows="4" cols="100" name="skills" placeholder="list the skills you require here" style="resize:none" required>
[該HTML5佔位符屬性不是爲標籤元件的替代物(http://www.456bereastreet.com/archive/201204/the_html5_placeholder_attribute_is_not_a_substitute_for_the_label_element/) – Quentin
「有可能的方式在不使用CSS的情況下做到這一點「 - 爲什麼您反對使用Web的表示語言來描述網頁上的某些內容? – Quentin
'type =「textarea」' - 輸入元素沒有textarea類型。你的意思是'type =「text」'?使用[驗證程序](https://validator.w3.org/nu/)。 – Quentin