为什么我的html嵌套列表没有嵌套?结果仅显示一个列表。所有标签似乎都在正确的位置。我不确定是什么原因导致的,因为我正在模拟以下内容中描述的嵌套列表代码结构:
Proper way to make HTML nested list?
这是我的代码。感谢您提供任何见识。
<div class="home-page main grid-wrap">
<header class="grid col-full">
<hr>
<p class="fleft">Projects</p>
</header>
<div class="grid col-full">
<p>
<ul>
<li> Kaggle </li>
<li> SVM (to be added)</li>
<li> Logistic Regression (to be added)</li>
<li> Natural Language Processing (NLP) (to be added) </li>
<li> Time series (to be added) </li>
<li> La Quinta is Spanish for Denny's
<ul>
<li>Details: evaluate the claim that La Quintas are usually next to Denny's</li>
<li>Skills demonstrated: web scraping, regex parsing, data visualization)</li>
<li><a href="http://www2.stat.duke.edu/~cr173/Sta523_Fa14/hw/hw2.html" rel="external" target="_blank">Task</a></li>
<li><a href="" rel="external" target="_blank">Solution (to be added)</a></li>
</ul>
</li>
<li> Parking Wars: Manhattan
<ul>
<li>Details: draw convex hulls to recreate NYC’s police precincts</li>
<li>Skills demonstrated: big data, data wrangling, geocoding, feature engineering. We tied for 1st place out of 5 teams based on smallest total area of discrepancy between your prediction and the true map; the other three teams had much larger discrepancies.</li>
<li><a href="http://www2.stat.duke.edu/~cr173/Sta523_Fa14/hw/hw3.html" rel="external" target="_blank">Task</a></li>
<li><a href="" rel="external" target="_blank">Solution (to be added)</a></li>
</ul>
</li>
<li> Papers
<ul>
<li><a href="http://aw236.github.io/projects/ipSummary_june2018.pdf" rel="external" target="_blank">Geolocation by IP Address: A Summary</a></li>
<li><a href="" rel="external" target="_blank">Honors thesis, International Shocks on the U.S. Economy from 1920-1939 (to be added)</a></li>
<li><a href="" rel="external" target="_blank">Statistics thesis, Fitting Generalized Linear Models with Log-Link Functions to NBA Data (to be added)</a> </li>
</ul>
</li>
</ul>
</p>
</div>
</div> <!--main-->