Posts Tagged ‘li tag’
What if you want to change your lists bullet character. In order to do this we will need to use the type attribute, which has been deprecated in favor of the CSS list-style-type property. I would explain how to use the CSS list-style-type property, which has replaced the type attribute, but this is a tutorial about HTML & XHTML, so I will explain the type attribute instead.
Read More ››In XHTML 2.0, the <nl> tag is introduced to us. The <nl> tag is short for navigational list. Sadly XHTML 2.0 is no longer supported so take this tutorial as what it could have been if XHTML 2.0 was still with us.
Read More ››Now I’m going to show you how to make an ordered list, which is just like an unordered list except that the items are numbered. We will be using the <ol> tag, which stands for ordered list instead of the <ul> tag, we will still need the <li> tag, which stands for list, both tags require an end tag.
Read More ››When nesting your lists you may nest one type of list in another, for example the <dl>, <ul> and <ol> tags may all be nested together or you can nest your lists in the same type of list, for example you can nest an unordered list inside another unordered list, its all up to you. You may not however nest lists inside directories also known as the <dir> tag, also you cannot nest lists inside menus also known as the <menu> tag. Both tags have since been deprecated and are not recommended to be used. You can however embed the <menu> and <dir> tags inside other lists.
Read More ››Now I’m going to show you how to make an unordered list. We will be using the <ul> tag, which stands for unordered list, we will also need the <li> tag, which stands for list, both tags require an end tag. Unordered lists are the most widely used lists on the Web. Unordered lists where designed to be used for listing any collection of items that have no particular order to be listed.
Read More ››