Markdown set the font size and color of the background color

First, change the font, size, color

<font face = "black body"> I am bold </ font> 
<font face = "Microsoft elegant black"> I am a Microsoft elegant black </ font>
<font face = "STCAIYUN"> I am a Chinese clouds </ font >
<font Color = red> I am a red </ font>
<font Color = # 008000> I am a green </ font>
<font Color = blue> I am a blue </ font>
<font size = 5> I size </ font>
<font face = "blackbody" color = green size = 5> I am a bold, green, size 5 </ font>

Specific color classification and labeling refer to: a variety of colors

There is also a way to set the text color:

$ \ color {# FF0000} in red $ 
$ \ Color Red {} $ in red

Second, add a background color for text

Because the style attribute style tags and labels are not supported, so here is achieved only by means of background color bgcolor attribute table, tr, td, etc. form tag. So here for the text background color settings, just the whole line as a table, change the background color of the grid (bgcolor)

<table><tr><td bgcolor=red>背景色red</td></tr></table>

 

 

 

Reference links:

1. https://www.jianshu.com/p/d867c8d7ade5

2. https://blog.csdn.net/heimu24/article/details/81189700

 

Guess you like

Origin www.cnblogs.com/lfri/p/11596242.html