跳到主要内容

HTML text fundamentals

<span></span>element没有语义semantics wrap content when you want to apply CSS to it(or do something to it with JavaScript)

unordered list
<ul>
<li>milk</li>
<li>eggs</li>
<li>bread</li>
<li>hummus</li>
</ul>
<ol>
<li>Drive to the end of the road</li>
<li>Turn right</li>
<li>Go stright across the first two roundabouts</li>
<li>Turn left at the third roundabout</li>
<li>The school is on your right,300 meters up the road</li>
</ol>

Nesting lists

Emphasis and importance

<em></em> emphasis强调 斜体italics <strong></strong>importance