DIV vs NAV tag with CSS Positioning
问题 Quick question - hopefully easy answer. I know the <nav> tag is a block level element. Now I know whatever you put inside this tag can also be put inside a <div> in the sense of content and styling. Now when I set the position of this element to fixed ( position: fixed ) it works when I use a <div> with an id tag but not when I do it inside a <nav> tag. As long as I am using one <nav> tag, I could just style it using nav { style here } right? I don't necessarily need to use an id for it.