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:

Huayra
  • TTG Contender
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?
#2. Posted:
1984
  • Challenger
Status: Offline
Joined: Jun 06, 201311Year Member
Posts: 117
Reputation Power: 4
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
#3. Posted:
1984
  • Challenger
Status: Offline
Joined: Jun 06, 201311Year Member
Posts: 117
Reputation Power: 4
Status: Offline
Joined: Jun 06, 201311Year Member
Posts: 117
Reputation Power: 4
Also a very helpful HTML website that I used when I began. [ Register or Signin to view external links. ]
#4. Posted:
-TTGxPr0M0dz
  • Powerhouse
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
#5. Posted:
1984
  • Challenger
Status: Offline
Joined: Jun 06, 201311Year Member
Posts: 117
Reputation Power: 4
Status: Offline
Joined: Jun 06, 201311Year Member
Posts: 117
Reputation Power: 4
-TTGxPr0M0dz wrote
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
Yeah I know but he asked for an ordered list. There are description list as well that are coded like this:
<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

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
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.