HTML Basics Tutorial: and

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

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

Let’s take a look at an example

    

水调歌头·丙辰中秋

 朝代:宋代 作者:苏轼 丙辰中秋,欢饮达旦,大醉,作此篇,兼怀子由。 明月几时有,把酒问青天。不知天上宫阙,今夕是何年。我欲乘风归去,又恐琼楼玉宇,高处不胜寒。起舞弄清影,何似在人间? 转朱阁,低绮户,照无眠。不应有恨,何事长向别时圆?人有悲欢离合,月有阴晴圆缺,此事古难全。但愿人长久,千里共婵娟。 
  

’s content is displayed in italics during browsing, and 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
||

水调歌头·丙辰中秋

 朝代:宋代 作者:苏轼 丙辰中秋,欢饮达旦,大醉,作此篇,兼怀子由。 明月几时有,把酒问青天。不知天上宫阙,今夕是何年。我欲乘风归去,又恐琼楼玉宇,高处不胜寒。起舞弄清影,何似在人间? 转朱阁,低绮户,照无眠。不应有恨,何事长向别时圆?人有悲欢离合,月有阴晴圆缺,此事古难全。但愿人长久,千里共婵娟。 
  
     
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!