Created
January 29, 2014 10:13
-
-
Save apphp/8685066 to your computer and use it in GitHub Desktop.
Button With Line Breaks in HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To get buttom with line breaks you can use carriage return characters to break the line: 
 or just <br> with a <button> tag: | |
Source: http://www.apphp.com/index.php?snippet=html-button-with-line-breaks | |
<!-- First way --> | |
<input type="button" value="This is
a Really
Tall
 Button"> | |
<!-- Second way --> | |
<button>This is<br/>a Really<br/>Tall<br/>Button</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment