I don\'t know why this is not displayed right, the list is meant to display horizontally? Instead it is displaying vertically!
this is my code:
h1 tags default as display:block; so that is taking precedence.
h1
display:block;
Also, you have tags after closing the tags, but there are no opening tags. That could cause issues in older browsers.
Third, what's the purpose of putting h1 tags inside of lis? Semantically, that doesn't make sense.
li