first-letter-desc.html
来自「CSS lets learn this step by step...」· HTML 代码 · 共 37 行
HTML
37 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en"> <head><meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <title>Long description for drop cap example</title> </head> <body> <h1>Long description for drop cap example</h1><P>This diagram illustrates a drop cap layout using the :first-letter pseudo-class.<P>There are 4 lines of text. The first line begins with a largecapital "T" that spans two lines. The rest of the textflows around the "T": the first two lines lie to its rightand the third and fourth below it (aligned with the leftside of the "T").<P>In the following PRE element layout, the space occupiedby the "T" at the beginning of the second line is representedby an underscore (_):</P><PRE>T he first few_ words of anarticle in theEconomist</PRE><P><a href="../../selector.html#img-first-letter">Return to image.</a></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?