仅包含HTML5中的导航链接的部分
HTML<nav>标记指定仅包含导航链接的部分。您可以尝试运行以下代码以在HTML5中实现<nav>标记-
示例
<!DOCTYPE html> <html> <head> <title>HTML Nav Tag</title> </head> <body> <p>Database Tutorials:</p> <nav> <a href = "dbms/index.htm">DBMS</a> | <a href = "mongodb/index.htm">MongoDB</a> | <a href = "mysql/index.htm">MySQL</a> | <a href = "plsql/index.htm">PL/SQL</a> | <a href = "sql/index.htm">SQL</a> </nav> </body> </html>