how to make a save button in html

You can either save the file as a PDF document or print it with the printer. In jsfiddle, you can't run a javascript function inside of html events (like onClick) unless the javascript is contained in tags. Possible values: If specified, this attribute overrides the method attribute of the button's form owner. Its huge, user-friendly search box and detailed responses make it so much better than Google. Save form Data in a Text File using JavaScript * { box-sizing: border-box; } div { padding: 10px; background-color: #f6f6f6; overflow: hidden; } input [type=text], textarea, select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; } input [type=button] { width: auto; float: right; cursor: pointer; padding: 7px; } -- This element's attributes include the global attributes. How to follow the signal when reading the schematic? Link. The

element to associate the button with (its form owner). 1.Create an HTML with save method JS to show the save button which you want to put on the form. The <input> Element