Posts

Showing posts from May, 2017

HTML: How to make a button with text + image in it?

<button type = "button" > <img src = "save.gif" alt = "Save icon" /> <br/> Save </button>

JavaScript - How to filter input type=“file” dialog by specific file type?

<input type = "file" accept = ".jpg, .png, .jpeg, .gif, .bmp, .tif, .tiff|images/*" > http://stackoverflow.com/questions/8938124/how-to-filter-input-type-file-dialog-by-specific-file-type