Button With Line Breaks in HTML


/ Published in: HTML
Save to your folder(s)

To get button with line breaks you can use carriage return characters to break the line: 
 or just with a tag:


Copy this code and paste it in your HTML
  1. <!-- First way -->
  2. <input type="button" value="This is&#x00A;a Really&#x00A;Tall&#x00A; Button">
  3. <!-- Second way -->
  4. <button>This is<br/>a Really<br/>Tall<br/>Button</button>

URL: http://www.apphp.com/index.php?snippet=html-button-with-line-breaks

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.