+ 4
How can I set a list to Word spacing 30px? I have tried so many times but can't figure out what I'm doing wrong.
<div> <un> <list>Babies</list> <list>Toddlers</list> <list>Kids</list> <list>Teenagers</list> <un/> <div/> <hr>
2 ответов
+ 7
Tags for list elements are <ul> (Unordered List), <ol> (Ordered List), and <li> for child items... not <un> and <list> ^^ (and closing tag start with slash '/', not end: </ul> and not <un/>)
Default behaviour of list elements is to be displayed verticaly... if you want to have them inlined, you need to style them with css.
You didn't specify if you want spacing between words verticaly or horizontaly... in both cases, you can do it by many way: describe more what you're expecting to guess an accurate answer ;P
0
You could use <li><pre> Babies</pre></li> //later tonight after work I'll work on a more viable solution