未排序的HTML列表无效

时间:2016-04-20 22:45:55

标签: html html5 templates tags html-lists

我已经共同编写了这段代码:

<ul><p>what  are you <i>still</i>  doing  up?</p>
<p>you  waiting  for  <i>me</i>, so we can <em>go</em> to bed <sup><sub>together?</sub></sup></p>

<ul>there is no such thing as  an  unsorted  list  in my world</ul>
<ul>nej  tak  jeg vil  gerne  sove</ul>

<p>you went for a <b>bold</b> move...</p>
<p>camel rider  hidden  in the  sand  snake  flippant  eyebrow  mandrake</p></ul>

作为网站的模板(称为 鼠标顺序 )但未显示未排序的列表。如何显示未排序的列表?

4 个答案:

答案 0 :(得分:1)

您需要使用<li>标记来制作列表。像这样:

<ul>
  <li>there is no such</li>
  <li>thing as an unsorted</li>
  <li>list in my world</li>
</ul>

答案 1 :(得分:0)

您需要将列表中的元素放在他们自己的<li>标记中,如下所示:

<ul>
   <li>there is no such thing as  an  unsorted  list  in my world</li>
</ul>

答案 2 :(得分:0)

看起来您可能需要在<li>标记之间嵌套<ul></ul>标记。像这样:

<ul>
  <li>there is no such thing as an unsorted list in my world</li>
</ul>

答案 3 :(得分:0)

这就是你编写无序列表的方法:

<ul>
  <li>Put your text here</li>
  <li>More items....</li>
  <li>....</li>
</ul>
祝你好运!