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标签的详解的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

你有认真学习HTML5吗?那么你应该读的书都在这里了

移动端HTML5模拟长按删除事件(附代码)

canvas波浪效果的实现代码

HTML5 常用标签汇总详情

HTML5实践-可伸缩的mobile搜索框图文详解

HTML5与html的区别有哪些?HTML5与html四大区别总结

HTML5+canvas调用手机拍照功能实现图片上传功能(图文详解上篇)

基于HTML5的web scada报表的图文代码分析

详解HTML5 canvas drawing的示例代码(三)

最全的HTML5标签

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




打赏

取消

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

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

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

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

评论

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