Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么你认为<nav>元素在引导程序中被转换为块级元素?最初它是内联元素。
<nav>
它是一个块级元素。Bootstrap 可能会明确指定强制旧浏览器正确呈现它,因为它们会将未知标签呈现为内联元素。