<html> 这是一段用 <font color=“red” size=“+1”>HTML 写的红色字(size=+1)</font> 配置项没有启用, 所以没有生效 </html>
Original Table
Year | Location |
---|---|
2004 | Athens, Greece |
2008 | Beijing, China |
2012 | London, United Kingdom |
2016 | Rio de Janeiro, Brazil |
prettytables Table
Year | Location |
---|---|
2004 | Athens, Greece |
2008 | Beijing, China |
2012 | London, United Kingdom |
2016 | Rio de Janeiro, Brazil |
tablewidth
< 100% 50px - 5em 10em 10% > | ||||
A | B | C | D | E |
---|---|---|---|---|
1 | 2 | 3 | 4 | 5 |
If there are more columns in the table than there are values in the width specification, the width willbe applied to the columns from left to right:
< 50em 20% > | |
20% | 80% |
---|---|
Specified width | The rest of the table width |
<color green>text</color> <color blue/lightgrey>text</color> <color #FF0000>text</color> <color /#FFff00>text</color> <color rgb(80%,0%,0%)/rgb(100%,80%,100%)>text</color> <color hsl(120,100%,30%):hsl(180,50%,90%)>text</color> <color blue/yellow>This text has a blue text color and yellow background.</color>
text text text text text text
This text has a blue text color and yellow background.