The difference between q and blockquote tags_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:54:48
Original
1318 people have browsed it

q is used to separate quotations in text and define a short quotation. This tag will add double quotation marks to the quoted text. It is rarely used in general and will be used more in blog forum systems;

blockquote is used to quote long text and is used to define a quotation within the tag. The content will be indented automatically;

 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 5 <title>q和blockquote的区别</title> 6 </head> 7 <body> 8 <h2>短文本引用</h2> 9 <p>痞子蔡的小说</p>10 <q>第一次亲密接触</q>11 <p>总是一遍遍的重复,一遍遍的感动</p>12 <h2>长文本引用</h2>13 <p>一直记着轻舞飞扬的经典语句</p>14 <blockquote>我轻轻地舞着,在拥挤的人群之中。你投射过来异样的眼神。诧异也好,欣赏也罢。并不曾使我的舞步凌乱。因为令我飞扬的,不是你注视的目光。而是我年轻的心!</blockquote>15 <p>有你的地方是天堂</p>16 </body>17 </html>
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template