text". The span tag provides a way to isolate a portion of text or a document."/> text". The span tag provides a way to isolate a portion of text or a document.">
Home > Article > Web Front-end > What does span in css mean?
In CSS, span means range, which is used to combine inline elements in the document. The syntax is "text". The span tag provides a way to isolate a portion of text or a document.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
Define an area within a row, that is, a row can be divided into several areas by to achieve a specific effect. itself has no properties.
is an inline element in the CSS definition, and Use the element to color a part of the text: Effect: <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<p>波斯猫有一双异色颜色,十分好看,它一只眼睛是
<span style="color:blue;font-weight:bold">
蓝色
</span>
的,另外一只眼睛是
<span style="color:rgb(112, 177, 0);font-weight:bold">
碧绿色
</span>
的。
</p>
</body>
</html>
The above is the detailed content of What does span in css mean?. For more information, please follow other related articles on the PHP Chinese website!