Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Your opinion on the right element to use.

Status
Not open for further replies.

HestonJames

Programmer
Aug 11, 2008
187
GB
Afternoon Chaps,

Just thought I'd hassle you for your opinions on the best element to use to describe this stuff. I have a bunch of product benefits that I'm looking to display on the page, each one has a heading followed by a short description of what it is, such as:

BENEFIT 1
This allows you to do such and such....

BENEFIT 2
This does something or other for you...

BENEFIT 3
This is cool because it allows you to....

What would you use here? I'm thinking about using a definition list <dl /> is this an appropriate use case for the tag? or should I be using headers and paragraphs? or just a standard <ul />?

I know its probably not really 'important' for any real reason, I'm just interested in your thoughts.

Cheers all,

Heston
 
It really is a six-of-one vs. half-dozen-of-another kind of question. I'd probably use definition lists, but either way would work fine if styled properly.

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
I'd probably go with a definition list too. It certainly wouldn't be an unordered list since the benefits are 1,2,3.

You could just use heading and paragraphs, I don't think that would be wrong either.

--
Tek-Tips Forums is Member Supported. Click Here to donate

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.


 
A definition list is what I'd use too.

An unordered list would be OK, provided the benefits weren't in any meaningful order. If you're using "BENEFIT 1", "BENEFIT 2" and "BENEFIT 3" as placeholder text in your example above, then a <ul> is fine. If you actually want to convey that benefit 1 is more important than benefit 2, use a <ol> instead.



-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Hello Guys,

Thank you all for your response, I'm glad to see that I was in the right mindset in thinking that a definition list would suit this use case nicely.

They were indeed just place holders so I don't think an OL is required.

I'll play around with this and see what I can make it do.

Cheers again guys,

Heston
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top