BrettBits.com BrettBits is presented using technology even more compact than the original vacuum tube computers.


BrettBits > Java and Javascript Programs > Generate Code for HTML Tables

Generate Code for HTML Tables






Number of Rows:
Number of Columns:
Table Width:
Table Background Color (in hexadecimal): #
Border Size (in pixels):
Cell padding:
Cell spacing:




Click once in the text box to highlight the HTML code. Then, press Ctrl + C (Apple + C for Mac users) to copy the table code to the clipboard, and then Ctrl + V (Apple + V for Mac users) to paste the table code into your favorite HTML code editor. Now you have your HTML table!




To use this Javascript for your own, copy the contents of the textbox below, and paste them into Notepad. Then, save the contents as a .htm or .html file. The Javascript is now yours! Just ensure you give me proper credit for creating it.

Javascript Source Code




Alternatively, you can download the source .html file itself by right-clicking on the Download button below, and click "Save Target As..." or "Save Link As...":

Download Generate Code for HTML Tables


Share This Page!

Digg this!Add to Del.icio.usAdd to StumbleUponAdd to Facebook Profile
 




Subscribe to RSS feed