8.3.1. Foundation default settin ¶
Foundation uses browser default font size ( font-size:100% ). For most desktop browsers, the font defaults to 16px. For most mobile browsers, the font defaults to 12px. The default font is "Helvetica Neue" , line-height defaults to 1.5 .
The above default settings are for element.
8.3.2. Foundation text arrangement design ¶
In this chapter we will discuss the text arrangement design of Foundation.
以下实例的真实样式请通过点击”尝试一下”按钮查看。
8.3.3. < H1 >-< h6 > ¶
HTML title for Foundation rendering ( To
) is as follows:
Example ¶
<h1>h1 标题h1><h2>h2 标题h2><h3>h3 标题h3><h4>h4 标题h4><h5>h5
标题h5><h6>h6 标题h6>
提示: If you need to create a light-colored title, you can add .subheader Class:
Example ¶
<h1class="subheader">h1.subheaderh1><h2class="subheader">h2.subheaderh2><h3class="subheader">h3.subheaderh3><h4class="subheader">h4.subheaderh4><h5class="subheader">h5.subheaderh5><h6class="subheader">h6.subheaderh6>
8.3.4. < small > ¶
In Foundation, HTML Element is used to create a light subtitle:
Example ¶
<h1>h1 heading<small>secondary textsmall>h1><h2>h2
heading<small>secondary textsmall>h2><h3>h3 heading<small>secondary
textsmall>h3><h4>h4 heading<small>secondary textsmall>h4><h5>h5
heading<small>secondary textsmall>h5><h6>h6 heading<small>secondary
textsmall>h6>
8.3.5. < a > ¶
Foundation The style of the element is as follows:
Example ¶
这是一个链接。
8.3.6. < abbr > ¶
Foundation The style of the element is as follows:
Example ¶
<p>The<abbrtitle="World Health Organization">WHOabbr>was founded in
1948.p>
< blockquote > ¶
Foundation ```` 元素的样式如下所示:
Example ¶
学的不仅是技术,更是梦想!
菜鸟教程
8.3.7. < dl > ¶
Foundation The style of the element is as follows:
Example ¶
<dl><dt>Coffeedt><dd>- black hot drinkdd><dt>Milkdt><dd>- white
cold drinkdd>dl>
8.3.8. < code > ¶
Foundation The style of the element is as follows:
Example ¶
以下 HTML 元素:span,section,
和div是文档的一部分。
8.3.9. < kbd > ¶
Foundation The style of the element is as follows:
Example ¶
按下ctrl + p键打开打印窗口。
8.3.10. < hr > ¶
Foundation The style of the element is as follows:
Example ¶
<hr>