UL ol di three difference

Source: Internet
Author: User

1.UL is an unordered list, which means that there is no arrangement limit to add Li arbitrarily;
<ul>
<li> Feel free to place </li>
<li> Feel free to place </li>
<li> Feel free to place </li>
</ul>
. Can be arbitrarily placed
. Can be arbitrarily placed
. Can be arbitrarily placed

2.ol on the sequence list, according to the Li you write before and after the order;
<ol>
<li> I am the first </li>
<li> I am the second </li>
<li> I am the third </li>
</ol>
1. I am the first
2. I am the second
3. I am the third

The 3.DL is the definition list, which defaults to the pre-and post-level relationships; Definition List
<dl>
<dt> I am the head </dt>
<dd> I am content </dd>
<dd> I am content </dd>
</dl>
I'm the head.
--I am the content
--I am the content

UL ol di three difference

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.