You are viewing our Forum Archives. To view or take place in current topics click here.
HTML Coding | Help | <html>
Posted:
HTML Coding | Help | <html>Posted:
Status: Offline
Joined: Apr 08, 201311Year Member
Posts: 3,101
Reputation Power: 144
Status: Offline
Joined: Apr 08, 201311Year Member
Posts: 3,101
Reputation Power: 144
I need help with my homework, for coding a HTML web page,
I'm un sure where to put the
<li> </li> tags go in an ordered list? Can somebody help me out?
I'm un sure where to put the
<li> </li> tags go in an ordered list? Can somebody help me out?
#2. Posted:
Status: Offline
Joined: Jun 06, 201311Year Member
Posts: 117
Reputation Power: 4
Here is an example of an ordered list.
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
If you need anymore help PM me.
Last edited by 1984 ; edited 1 time in total
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
If you need anymore help PM me.
Last edited by 1984 ; edited 1 time in total
- 1useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jun 06, 201311Year Member
Posts: 117
Reputation Power: 4
#4. Posted:
Status: Offline
Joined: Jul 18, 201113Year Member
Posts: 430
Reputation Power: 20
Status: Offline
Joined: Jul 18, 201113Year Member
Posts: 430
Reputation Power: 20
1984 wrote Here is an example of an ordered list.
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
If you need anymore help PM me.
they can also be used inside of <ul> </ul> tags for an unordered list. Just to add to your answer 1984
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Jun 06, 201311Year Member
Posts: 117
Reputation Power: 4
-TTGxPr0M0dz wroteYeah I know but he asked for an ordered list. There are description list as well that are coded like this:1984 wrote Here is an example of an ordered list.
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
If you need anymore help PM me.
they can also be used inside of <ul> </ul> tags for an unordered list. Just to add to your answer 1984
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
And look like this in a browser:
Coffee
- black hot drink
Milk
- white cold drink
- black hot drink
Milk
- white cold drink
I'll even add all the tags and what they mean right here:
<ol> - Defines an ordered list
<ul> - Defines an unordered list
<li> - Defines a list item
<dl> - Defines a description list
<dt> - Defines a term/name in a description list
<dd> - Defines a description of a term/name in a description list
<ul> - Defines an unordered list
<li> - Defines a list item
<dl> - Defines a description list
<dt> - Defines a term/name in a description list
<dd> - Defines a description of a term/name in a description list
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.