这是一个关于 <textarea>
的悬而未决的问题嵌入在表单中。
完全有可能拥有无法编辑的只读文本,然后在同一个<textarea>
中开始编写文本的选项。
我的问题是我只能拥有一个或另一个。如果没有,是否有任何解决方案可以在 <textarea>
中显示硬编码消息在可以写入文本之前。
感谢您的宝贵时间,对于新手的排序或问题深表歉意。
最佳答案
Can a html text area have a combination of read only and editable text
没有。
If not is there any solutions to have a hard coded message appear in the before the text can be written.
<p>The quick brown <input name="jumping_animal">
jumped over the lazy <input name="lazy_animal">.</p>
关于php - html文本区域可以具有只读和可编辑文本的组合吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16277612/