HTML5中的nav标签的详解


当前第2页 返回上一页

nav标签本身并不要求包含一个列表,它还可以包含其它内容形式。

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

XML/HTML Code复制内容到剪贴板

<nav>

    <h1>Navigation</h1>

    <p>You are on my home page. To the north lies  

        <a href="/blog">my blog</a>, from whence the sounds of battle can be heard. To the east you can see a large mountain,  

        upon which many  

        <a href="/school">school papers</a>are littered. Far up thus mountain you can spy a little figure who appears to  

        be me, desperately scribbling a  

        <a href="/school/thesis">thesis</a>.</p>

    <p>To the west are several exits. One fun-looking exit is labeled  

        <a href="http://games.example.com/">"games"</a>. Another more boring-looking exit is labeled  

        <a href="http://isp.example.net/">ISP?</a>.</p>

    <p>To the south lies a dark and dank  

        <a href="/about">contacts page</a>. Cobwebs cover its disused entrance, and at one point you see a rat run quickly  

        out of the page.</p>

</nav>


以上就是HTML5中的nav标签的详解的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

nav是什么功能

HTML5离线存储知识详解

h5移动端各种各样的列表的制作方法(五)

h5实现放大镜效果的代码

移动端h5轮播插件swipe实例详解

HTML5新特性之websocket

h5怎样调用相机拍照并压缩图片

HTML5中关于volume属性的使用详解

HTML5文本格式化

h5的audio音频和video视频使用详解

更多相关阅读请进入《HTML5》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...