Demo
Create dynamic Table in HTML at runtime using JavaScript