如何在HTML中的几行上提供输入提交值 [英] How to have an Input submit value on several lines in HTML

查看:116
本文介绍了如何在HTML中的几行上提供输入提交值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道是否有办法在几行显示HTML中的按钮的文本值?

Does anybody know if there is a way to display the text value of an button in HTML on several lines ?

我的意思是,如果你锁定在相关的CSS的按钮的宽度,你想让按钮上的文本在两行例如..

I mean, if you lock the width of the button in the associated CSS and you want the text on the button to be on 2 lines for example..

提前感谢!

推荐答案

<input type="button" value="line &#10; break" />

这篇关于如何在HTML中的几行上提供输入提交值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆