若想要呈現的效果為符號 ● ,則你可以透過 <ul> 與 <li> 語法達到效果,語法如下:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li>起床</li> | |
<li>盥洗</li> | |
<li>上班</li> | |
</ul> |
其呈現的效果如下:
若想要呈現的效果為數字排序,則可以透過 <ol> 與 <li> 語法達到效果,語法如下:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ol> | |
<li>起床</li> | |
<li>盥洗</li> | |
<li>上班</li> | |
</ol> |
如果要混合使用,達到子項目的效果呢? 語法如下:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li>起床</li> | |
<li>盥洗</li> | |
<ol> | |
<li>起床</li> | |
<li>盥洗</li> | |
<li>上班</li> | |
</ol> | |
<li>上班</li> | |
</ul> | |
呈現的效果如下:
若有需要,可以直接複製語法貼上,再修改即可。
0 留言