0
在我的HTML編輯器,在使用HTML編輯器(劍道編輯器)生成子彈我,然後我縮進它來創建子項中,HTML回報是不是在我的預料。如何將Html子元素移出主要元素?
<ul>
<li>Focusing on lifetime income replacement
<ul><li>Investing in continuous service and innovation</li></ul>
</li>
<li>Advocating for an improved retirement system</li>
<li>Achieving total financial wellness</li>
<li>Providing a distinctive, multichannel user experience for participants and plan sponsors </li>
</ul>
如您所見,ul標籤位於li標籤內,它會影響我的報告(我使用itextsharp創建pdf)。
c#如何將ul標籤移動到li之外?誰能給我一個解決方案。 我想到的是:
<ul>
<li>Focusing on lifetime income replacement
</li>
<ul> // Move to here
<li>Investing in continuous service and innovation</li>
</ul>
<li>Advocating for an improved retirement system</li>
<li>Achieving total financial wellness</li>
<li>Providing a distinctive, multichannel user experience for participants and plan sponsors </li>
</ul>
我編輯了你的標題。請參閱:「[應該在其標題中包含」標籤「](http://meta.stackexchange.com/questions/19190/)」,其中的共識是「不,他們不應該」。 –