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>這是我們的第一個(gè)頁面</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>這是我們的第一個(gè)頁面</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> 閑來垂釣碧溪上,忽復(fù)乘舟夢(mèng)日邊。<br> </font> <b>行路難!行路難!</b><i>多岐路,今安在?</i><br> <u>長(zhǎng)風(fēng)破浪會(huì)有時(shí),直掛云帆濟(jì)滄海</u><br> </body> </html>