How can we allign <nav> options in a single line instead of representing them in different lines using bullets? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can we allign <nav> options in a single line instead of representing them in different lines using bullets?

20th Oct 2016, 6:46 PM
Abhirami Das
Abhirami Das - avatar
5 Answers
+ 4
<nav><a href="/Discuss/">Discuss</a> | <a href="/Codes/">Codes</a></nav>
20th Oct 2016, 7:03 PM
Zen
Zen - avatar
+ 3
By not using ul/li tags.
20th Oct 2016, 6:52 PM
Zen
Zen - avatar
+ 2
nav{display:inline-block;float:right} in the css
20th Oct 2016, 7:04 PM
Sarabjeet Singh
0
can you give an example?
20th Oct 2016, 6:55 PM
Abhirami Das
Abhirami Das - avatar
- 1
tnq guys..was really informative :)
20th Oct 2016, 7:15 PM
Abhirami Das
Abhirami Das - avatar