save data from html table to sharepoint list

I have a html table which holds some data and has a submit button at the bottom of the table.I am trying to save this data of table on button click to SharePoint 2013 list which is having same columns as table fields. How to follow for this kind of scenario to save table data to sharepoint list.(Explain with example also will be so helpful to me)