Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 1
    \$\begingroup\$ Leave out </td>, the browser is smart enough to automatically add this closing tag \$\endgroup\$ Commented Apr 16, 2019 at 20:01
  • 3
    \$\begingroup\$ If using deprecated elements, you can also specify the background color of a cell using <td bgcolor=#f00> \$\endgroup\$ Commented Apr 16, 2019 at 20:03
  • 2
    \$\begingroup\$ Maybe a noob question, but can't you avoid using the table and just print the █ and go to a new line with <br>? \$\endgroup\$ Commented Apr 17, 2019 at 7:34
  • 1
    \$\begingroup\$ @frarugi87 yes - 235 total: <span style="color:red">█<span class=a>█<span class=b>█<br><span class=a>█<span style="color:#0f0">█<span class=c>█<br><span class=b>█<span class=c>█<span style="color:#00f">█ \$\endgroup\$ Commented Apr 17, 2019 at 8:47
  • 1
    \$\begingroup\$ @ASCII-only b{color:#ff0}u{color:#f0f}i{color:#0ff} <pre><font color=red>█<b>█<u>█ <b>█<font color=lime>█<i>█ <u>█<i>█<font color=blue>█ \$\endgroup\$ Commented Apr 17, 2019 at 12:19