Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <style> li{display:inline;} </style> </head> <body> <p>Display this link list as a horizontal menu:</p> <ul> <li><a href="../html/default.asp.htm" target="_blank">HTML</a></li> <li><a href="default.asp.htm" target="_blank">CSS</a></li> <li><a href="../js/default.asp.htm" target="_blank">JavaScript</a></li> <li><a href="../xml/default.asp.htm" target="_blank">XML</a></li> </ul> </body> </html>
Result:
W3Schools.com - Try it yourself