html5中引用标记是什么元素

html5中引用标记是“blockquote”或“q”元素。blockquote元素可定义摘自另一个源的块引用,浏览器通常会对blockquote元素进行缩进;而q元素可定义不需要段落分隔的短引用,浏览器经常会在这种引用的周围插入引号。

本教程操作环境:windows7系统、HTML5版、Dell G3电脑。

在html5中有两种引用标记:

<blockquote>标签

<q>标签

<blockquote> 标签

<blockquote> 标签定义摘自另一个源的块引用。

浏览器通常会对 <blockquote> 元素进行缩进。

<!DOCTYPE html><html><head> <meta charset=\”utf-8\”> </head><body><h1>About WWF</h1><p>Here is a quote from WWF\’s website:</p><blockquote cite=\”http://www.worldwildlife.org/who/index.html\”>For 50 years, WWF has been protecting the future of nature. The world?s leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.</blockquote></body></html>

<q> 标签

<q> 标签定义不需要段落分隔的短引用。

浏览器经常会在这种引用的周围插入引号。

<!DOCTYPE html><html><head> <meta charset=\”utf-8\”> </head><body><p>WWF\’s goal is to: <q>Build a future where people live in harmony with nature.</q>We hope they succeed.</p></body></html>

推荐教程:《html视频教程》

更多关于云服务器域名注册虚拟主机的问题,请访问西部数码官网:www.west.cn

赞(0)
声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-62778877-8306;邮箱:fanjiao@west.cn。本站原创内容未经允许不得转载,或转载时需注明出处:西部数码知识库 » html5中引用标记是什么元素

登录

找回密码

注册