How HTML floats the first letter of a paragraph on the left
Today, I would like to share with you how HTML makes the first letter of the paragraph float on the left side of the relevant knowledge points, detailed content, clear logic, I believe that most people still know too much about this knowledge, so share this article for your reference, I hope you can get something after reading this article, let's take a look at it.
Span
{
Float:left
Width:0.7em
Font-size:400%
Font-family:algerian,courier
Line-height:80%
}
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. This is some text.
In the following paragraphs, the first letter of the text is enclosed in a span element. The width of this span element is 0. 7 times the current font size. The font size of the span element is 400% and the line height is 80%. The letter font in span is "Algerian"
That's all about the article "how HTML floats the first letter of a paragraph on the left". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.