Wrapping an HTML input button's text value over multiple lines

后端 未结 6 1636
醉梦人生
醉梦人生 2020-12-31 09:06

How do I move text to a new line in an HTML input element with the type=\"button\" attribute?

I have following code:



        
6条回答
  •  天涯浪人
    2020-12-31 09:24

    I had come cross type of requirement in my one of the project,i resolved like given below.

    use html encoding string

    for splitting the text in value attribute of the button tag

    Hope this will help you..

提交回复
热议问题