dreamwest Posted January 17, 2009 Share Posted January 17, 2009 Is there a way to order a list by name using html only?? Bannana Orange Apple Mango Once ordered by name it will be: Apple Bannana Mango Orange Quote Link to comment Share on other sites More sharing options...
dropfaith Posted January 18, 2009 Share Posted January 18, 2009 no theres no html sorting options to my knowledge.. you just need to code it in order Quote Link to comment Share on other sites More sharing options...
CyberShot Posted January 18, 2009 Share Posted January 18, 2009 this is how you would make a list in html Or you could use ol instead of ul <ul> <li>Bannana</li> <li>Orange</li> <li>Apple</li> <li>Mango</li> </ul> if this isn't what you are looking for, you should explain more. Quote Link to comment Share on other sites More sharing options...
haku Posted January 19, 2009 Share Posted January 19, 2009 Dropfaith was correct - HTML has no sorting options. It will appear in the order you code it. If you want to sort it alphabetically, you will need to use a scripting language. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.