Text
emphasis
| emphasis | language | syntax | output |
|---|---|---|---|
| italic | Markdown | *italic* |
italic |
| HTML | <i> italic </i> |
italic | |
| CSS | <span style="font-style:italic"> italic </span> |
italic | |
| bold | Markdown | **bold** |
bold |
| HTML | <b> bold </b> |
bold | |
| CSS | <span style="font-weight:bold"> bold </span> |
bold |
color
| color | language | syntax | output |
|---|---|---|---|
| text | HTML | <font color="yellow"> yellow </font> |
yellow |
| CSS | <span style="color:yellow"> yellow </span> |
yellow | |
| background | CSS | <span style="background-color:purple"> purple </span> |
purple |
| text+background | CSS | <span style="color:black; background:white;"> black+white </span> |
black+white |
decoration
line
| line | language | syntax | output |
|---|---|---|---|
| underline | HTML | <u> underline </u> |
underline |
| CSS | <span style="text-decoration:underline"> underline </span> |
underline | |
| strike | HTML | <s> strike </s> |
|
| CSS | <span style="text-decoration:line-through"> strike </span> |
strike | |
| overline | CSS | <span style="text-decoration:overline"> overline </span> |
overline |
style
| style | language | syntax | output |
|---|---|---|---|
| solid | CSS | <span style="text-decoration:underline solid"> solid </span> |
solid |
| double | CSS | <span style="text-decoration:underline double"> double </span> |
double |
| dotted | CSS | <span style="text-decoration:underline dotted"> dotted </span> |
dotted |
| dashed | CSS | <span style="text-decoration:underline dashed"> dashed </span> |
dashed |
| wavy | CSS | <span style="text-decoration:underline wavy"> wavy </span> |
wavy |
color
| color | language | syntax | output |
|---|---|---|---|
| currentColor | CSS | <span style="text-decoration:underline currentColor"> currentColor </span> |
currentColor |
| yellow | CSS | <span style="text-decoration:underline yellow"> yellow </span> |
yellow |