HTML basic tutorial text modification tags
HTML text modification tag
- ## <b></b>: bold bold. For example: <b>HTML file</b>
- <i></i>: italic italic. For example: <i>HTML text</i>
- <u></u>: underline. For example: <u>HTML text</u>
- <s></s>: strikethrough. For example: <s>strikethrough</s> ##<sup></sup>superscript.
- <sub></sub>Subscript.
- <font></font>Font mark
- Color: color value.
Face: font, italic, bold, Song font.
- Let’s look at an example of subscripting
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>这是我们的第一个页面</title> </head> <body> <font size="5">X<sup>6</sup> + Y<sub>5</sub> =100</font> </body> </html>After learning so much, let’s write something fun
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>这是我们的第一个页面</title> </head> <body bgcolor="#88dd66"> <font size="7" color="" face="楷体">行路难.其一</font><br> <font size="4" color="yellow" face="楷体"> 金樽清酒斗十千,玉盘珍羞直万钱。<br> 停杯投箸不能食,拔剑四顾心茫然。<br> </font> <font size="3" color="red" face="宋体"> 欲渡黄河冰塞川,将登太行雪满山。<br> 闲来垂钓碧溪上,忽复乘舟梦日边。<br> </font> <b>行路难!行路难!</b><i>多岐路,今安在?</i><br> <u>长风破浪会有时,直挂云帆济沧海</u><br> </body> </html>