连连(LianLian Global)官网首页

12种常用的HTML标签和CSS样式(2)

HTML标签CSS样式
2022/04/07
3848

本文介绍6种常用的HTML标签和CSS样式。

1、文字斜体代码

<p style=' font- style:italic" >需要设置文字斜体的内容</p>

The contents of need to set text in italics

2、文字下划线代码

<p style= "text-decoration:underline" >需要设置文字下划线的内容</p>

The contents of need如set the contents of the text underined

3、文字上划线代码

<p style="text-decoration: overline">需要设置文字上划线的内容</p>

The contents of need to set the contents of the text on the dash

4、文字删除线代码

<p style= "text-decoration:line-through" >需要设置文字删除线的内容</p>

Fhe contents of nee to set the contents of the text striethrough

5、文字闪烁效果代码

<p style= "text-decoration:blink" >需要设置文字闪烁效果的内容</p>

The contents of need to Set the text blinking effect

设置后此文字是动态闪烁的。

6、插入图片代码

<p style= "width:500px;height:500px;background:ur(需要插入的图片链接) blue;"></p>

以上就是6种常用的HTML标签和CSS样式,希望对您有帮助。

更多