document.write( "Question 1199948: how to render tables by algebra.com? Tutorial. \n" ); document.write( "
Algebra.Com's Answer #833933 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "Algebra.com uses html table formatting.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "See this tutorial for more information: \n" ); document.write( "https://www.w3schools.com/html/html_tables.asp\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If you wish to use software to automatically generate a table, then this is one good option: \n" ); document.write( "https://www.tablesgenerator.com/html_tables \n" ); document.write( "Be sure to turn on the \"Do not generate CSS\" checkbox. There isn't a way to use CSS through algebra.com\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "That second link, while useful, doesn't provide an automatic way to draw in separator lines. You'll have to edit the code manually if you want them. \n" ); document.write( "Add in bit of code border=1 to the first \"table\" tag to have it draw in cell borders, aka divider lines.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In other words, the first tag of \n" ); document.write( "<table> \n" ); document.write( "will be updated to \n" ); document.write( "<table border=1> \n" ); document.write( "so the borders are drawn in\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Another useful trick is to give each cell buffer room or padding. \n" ); document.write( "Use the aptly named cellpadding tag. \n" ); document.write( "I tend to use a padding of 5\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This updates \n" ); document.write( "<table border=1> \n" ); document.write( "into \n" ); document.write( "<table border=1 cellpadding=5>\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Example:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This table \n" ); document.write( "
\n" ); document.write( "is generated by this html code \n" ); document.write( "<table border=1 cellpadding=5><tr><td>100</td><td>200</td><td>300</td></tr><tr><td>400</td><td>500</td><td>600</td></tr></table>\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Often it helps to break the code into separate lines like so \n" ); document.write( "<table border=1 cellpadding=5> \n" ); document.write( "<tr><td>100</td><td>200</td><td>300</td></tr> \n" ); document.write( "<tr><td>400</td><td>500</td><td>600</td></tr> \n" ); document.write( "</table> \n" ); document.write( "Each <tr> tag gets its own line.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This is what the table looks like without the cellpadding command. \n" ); document.write( "
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Another Example:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Table \n" ); document.write( "
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Code \n" ); document.write( "<table border=1 cellpadding=5> \n" ); document.write( "<tr><td>100</td><td>200</td></tr> \n" ); document.write( "<tr><td>300</td><td>400</td></tr> \n" ); document.write( "<tr><td>500</td><td>600</td></tr> \n" ); document.write( "</table> \n" ); document.write( "\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Have a try at other examples. Let me know if you have any questions. \n" ); document.write( " \n" ); document.write( " |