W3Cschool
恭喜您成為首批注冊(cè)用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
用于引用文檔中來(lái)自其他來(lái)源的內(nèi)容塊。
圍繞任意HTML封裝<blockquote>作為引用。<!DOCTYPE HTML>
<html>
<head>
<link href="//www.o2fo.com/statics/plugins/bootstrapold/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="margin: 20px;">
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer posuere erat a ante.</p>
</blockquote>
</body>
</html>
標(biāo)準(zhǔn)<blockquote>
上簡(jiǎn)單變體的樣式和內(nèi)容更改。添加<small>
標(biāo)簽以標(biāo)識(shí)源。在<cite>
中封裝源工作的名稱。
<!DOCTYPE HTML>
<html>
<head>
<link href="//www.o2fo.com/statics/plugins/bootstrapold/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="margin: 20px;">
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer posuere erat a ante.</p>
<small>Someone famous in <cite title="Source Title">Source
Title</cite></small>
</blockquote>
</body>
</html>
對(duì)于浮動(dòng)的右對(duì)齊blockquote,使用 .pull-right
。
<!DOCTYPE HTML>
<html>
<head>
<link href="//www.o2fo.com/statics/plugins/bootstrapold/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="margin: 20px;">
<blockquote class="pull-right">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer posuere erat a ante.</p>
<small>Someone famous in <cite title="Source Title">Source
Title</cite></small>
</blockquote>
</body>
</html>
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: