Tag HTML <blockquote>


Exemplo

Uma seção que é citada de outra fonte:

<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>

Mais exemplos de "Experimente você mesmo" abaixo.


Definição e uso

A <blockquote>tag especifica uma seção que é citada de outra fonte.

Os navegadores geralmente recuam <blockquote>elementos (veja o exemplo abaixo para ver como remover o recuo).


Dicas e Notas

Dica: Use <q>para cotações em linha (curtas).


Suporte ao navegador

Element
<blockquote> Yes Yes Yes Yes Yes

Atributos

Attribute Value Description
cite URL Specifies the source of the quotation

Atributos Globais

A <blockquote>tag também suporta os Atributos Globais em HTML .


Atributos do evento

A <blockquote>tag também suporta os atributos de evento em HTML .



Mais exemplos

Exemplo

Use CSS para remover o recuo do elemento blockquote:

<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>

Páginas relacionadas

Referência HTML DOM: Blockquote Object


Configurações padrão de CSS

A maioria dos navegadores exibirá o <blockquote>elemento com os seguintes valores padrão:

Exemplo

blockquote {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 40px;
  margin-right: 40px;
}