代码示例:(标识:css_float_4)
<!DOCTYPE html>
<html>
<head>
<style>
span {
  float: left;
  width: 0.7em;
  font-size: 400%;
  font-family: algerian, courier;
  line-height: 80%;
}
</style>
</head>
<body>

<p>
<span>T</span>his is some text.
This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
</p>

<p>
在上面的段落中,文本的第一个字母嵌入 span 元素中。
span 元素的宽度是当前字体大小的 0.7 倍。
span 元素的字体大小为 400%(很大),行高为 80%。
span 中字母的字体将是 "Algerian"。
</p>

</body>
</html>
运行结果: