亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

HTML Basics Tutorial: <strong> and <em>

With paragraphs and titles, now if you want to emphasize certain words in a paragraph, you can use the <em> or <strong> tags.

But there is a difference in the tone of emphasis: <em> means emphasis, <strong> means stronger emphasis. And in browsers, <em> is expressed in italics by default, and <strong> is expressed in bold. Compared with the two tags, domestic front-end programmers currently prefer to use <strong> to express emphasis.

Let’s take a look at an example

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
       <h1>水調(diào)歌頭·丙辰中秋</h1>
<pre>
朝代:宋代
作者:蘇軾
<strong>丙辰中秋,歡飲達(dá)旦,大醉,作此篇,兼懷子由。</strong>

明月幾時(shí)有,把酒問青天。不知天上宮闕,今夕是何年。我欲乘風(fēng)歸去,又恐瓊樓玉宇,高處不勝寒。起舞弄清影,何似在人間?
<em>轉(zhuǎn)朱閣,低綺戶,照無眠。不應(yīng)有恨,何事長向別時(shí)圓?人有悲歡離合,月有陰晴圓缺,此事古難全。但愿人長久,千里共嬋娟。</em>
<pre>
    </body>
</html>

<em>’s content is displayed in italics during browsing, and <strong> is displayed in bold. If you don't like this style, it doesn't matter. You can use css styles to change it later.

Continuing Learning
||
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <h1>水調(diào)歌頭·丙辰中秋</h1> <pre> 朝代:宋代 作者:蘇軾 <strong>丙辰中秋,歡飲達(dá)旦,大醉,作此篇,兼懷子由。</strong> 明月幾時(shí)有,把酒問青天。不知天上宮闕,今夕是何年。我欲乘風(fēng)歸去,又恐瓊樓玉宇,高處不勝寒。起舞弄清影,何似在人間? <em>轉(zhuǎn)朱閣,低綺戶,照無眠。不應(yīng)有恨,何事長向別時(shí)圓?人有悲歡離合,月有陰晴圓缺,此事古難全。但愿人長久,千里共嬋娟。</em> <pre> </body> </html>
submitReset Code