Sometime last week I needed to create a small HTML table for a post I’m currently working on.
Since it’s a rather big table, and I didn’t want to write all the trs and tds by hand, I simply searched for an online HTML table generator, and found the one or other tool.
The tools I’ve found were all missing one feature I personally needed: a simple HTML table editor that gives me the additional possibility to edit the table’s content.
Since I didn’t find a solution that matched my additional requirement, I thought it would be a good possibility to refresh my jQuery skills, and write a small and simple web-based tool to solve this little problem.
And so I created the web-based HTML Table Generator and Editor (HTGE).
Features
The HTGE is a pretty simple tool.
You first specify the number of rows and columns for the table:

After that, an editable table will be generated, which will give you the possibility to edit its content and appearance:

When you finish to edit everything, you simple can generate its markup, which you then can paste wherever you want:

Summary
As usual, it was a real pleasure to work with jQuery; thanks to it, I came up with the code behind the HTGE pretty quickly.
The reason why the HTGE is currently held that simple is because I only need it to generate plain HTML tables to use in my posts. Nonetheless, feature requests are welcome.
Regarding HTGE’s stability, the only known issue to me is that Internet Explorer 8 doesn’t print the table’s markup well formatted; this shouldn’t be a deal breaker. HTGE works perfectly with all the other browser. Nevertheless, if you should find any other issues, I’d be thankful if you’d report them to me.
If you’re a developer, and you somehow liked the HTGE, I’d also appreciate a feedback or two regarding the jQuery code behind the tool.
And finally, if you have any other feedback, you can leave a comment, or simply contact me.


