基础字体样式


Headings - 标题

一级标题 - Heading 1 副标题

二级标题 - Heading 2 副标题

三级标题 - Heading 3 副标题

四级标题 - Heading 4 副标题

五级标题 - Heading 5 副标题
六级标题 - Heading 6 副标题

链接 - Anchor

Paragraphs - 段落

荷塘月色 朱自清

月光如流水一般,静静地泻在这一片叶子和花上。薄薄的青雾浮起在荷塘里。叶子和花仿佛在牛乳中洗过一样;又像笼着轻纱的梦。虽然是满月,天上却有一层淡淡的云,所以不能朗照;但我以为这恰是到了好处——酣眠固不可少,小睡也别有风味的。月光是隔了树照过来的,高处丛生的灌木,落下参差的斑驳的黑影,峭楞楞如鬼一般;弯弯的杨柳的稀疏的倩影,却又像是画在荷叶上。塘中的月色并不均匀;但光与影有着和谐的旋律,如梵婀玲上奏着的名曲。

Text-level semantics - 行内标签

Element Description
<a> Turn text into hypertext using the a element.
<em> Emphasize text using the em element.
<strong> Imply any extra importance using the strong element.
<code> Define inline code snippets using the code element.
<del> Mark document changes as deleted text using the del element.
<ins> Mark document changes as inserted text using the ins element.
<mark> Highlight text with no semantic meaning using the mark element.
<q> Define inline quotations using q element inside a q element.
<abbr> Define an abbreviation using the abbr element with a title.
<dfn> Define a definition term using the dfn element with a title.
<small> De-emphasize text for small print using the small element.
<sup> Base fontsuperscript.
<sub> Base fontsubscript.

Horizontal rule - 分割线

HR


HR Thick

HR Dotted

HR Dashed

Quote block - 引用文字

青春的光辉,理想的钥匙,生命的意义,乃至人类的生存、发展全包含在这两个字之中,奋斗!只有奋斗,才能治愈过去的创伤;只有奋斗,才是我们民族的希望和光明所在。

—— 马克思

Code block - 代码

<pre>
<code>...</code>
</pre>
inline code

Lists - 列表

Create an unordered list using the <ul> element and the <ol> element for ordered lists. The <li> element defines the list item.

Unordered List

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem

Order List

  1. List item
  2. List item
  3. List item
    1. List item level 2
    2. List item level 2
      1. List item level 3
      2. List item level 3

Unstyled List

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem

Inline List

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa

Description Lists

Description Lists
A description list defines terms and their corresponding descriptions.
This is a term
This is a description.
This is a term
This is a description.

Table样式

Table - 默认样式

中文 Caption Text
# Make Model Year
1 Honda Accord 2009
2 Toyota Camry 2012
3 Hyundai Elantra 2010

Table - 边线样式

# Make Model Year
1 Honda Accord 2009
2 Toyota Camry 2012
3 Hyundai Elantra 2010

Table - 横线样式

# Make Model Year
1 Honda Accord 2009
2 Toyota Camry 2012
3 Hyundai Elantra 2010

Table - 条纹样式

# Make Model Year
1 Honda Accord 2009
2 Toyota Camry 2012
3 Hyundai Elantra 2010

Table - Hover行样式

# Make Model Year
1 Honda Accord 2009
2 Toyota Camry 2012
3 Hyundai Elantra 2010