HTML <blockquote> Tag
Voorbeeld
'n Afdeling wat uit 'n ander bron aangehaal word:
<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>
Meer "Probeer dit self" voorbeelde hieronder.
Definisie en gebruik
Die <blockquote>
merker spesifiseer 'n afdeling wat uit 'n ander bron aangehaal word.
Blaaiers trek gewoonlik <blockquote>
elemente in (kyk na voorbeeld hieronder om te sien hoe om die inkeping te verwyder).
Wenke en notas
Wenk: Gebruik <q>
vir inlyn (kort) aanhalings.
Blaaierondersteuning
Element | |||||
---|---|---|---|---|---|
<blockquote> | Yes | Yes | Yes | Yes | Yes |
Eienskappe
Attribute | Value | Description |
---|---|---|
cite | URL | Specifies the source of the quotation |
Globale eienskappe
Die <blockquote>
merker ondersteun ook die Global Attributes in HTML .
Gebeurtenis eienskappe
Die <blockquote>
merker ondersteun ook die gebeurtenis-kenmerke in HTML .
Meer voorbeelde
Voorbeeld
Gebruik CSS om die inkeping van die blokaanhalingselement te verwyder:
<html>
<head>
<style>
blockquote {
margin-left: 0;
}
</style>
</head>
<body>
<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>
Verwante bladsye
HTML DOM verwysing: Blockquote Object
Verstek CSS-instellings
Die meeste blaaiers sal die <blockquote>
element met die volgende verstekwaardes vertoon:
Voorbeeld
blockquote {
display: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 40px;
margin-right: 40px;
}