1. 程式人生 > >HTML基本教程2

HTML基本教程2

列表:

 <h4>一個有序列表:</h4>
<ol >
  <li>咖啡</li>
  <li>茶</li>
  <li>牛奶</li>
</ol>
       <h4>一個無序列表:</h4>
       <ul type="circle"><!-- type="square" -->
       <li>咖啡</li>
     <li>茶</li>
    <li>牛奶</li>
   </ul>
      <h4>自定義列表</h4>
      <dl>
      <dt>汽車</dt>
      <dd>四個輪子</dd>
      <dt>摩托車</dt>
      <dd>兩個輪子</dd>
      </dl>

 

 

框架:垂直(水平)

<frameset cols="25%,50%,25%"><!--rows="30%,30%,40%"-->

<frame src="/a.html">

<frame src="/b.html">

<frame src="c.html">

</frameset>

混合框架:

<frameset rows="50%,50%">

<frame src="/example/html/frame_a.html">

<frameset cols="25%,75%">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">
</frameset>

</frameset>

 

內斂框架:<iframe src="image/a.jpg"></iframe>