Esta tradução está incompleta. Ajude a traduzir este artigo em inglês
O elemento HTML <cite> representa uma referência a um trabalho artístico. Deve incluir o título do trabalho ou uma URL de referência, que pode ser em uma forma abreviada de acordo com as convenções usadas para a adição dos metadados de citação.
| Content categories | Flow content, phrasing content, palpable content. |
|---|---|
| Permitted content | Phrasing content. |
| Tag omission | None, both the starting and ending tag are mandatory. |
| Permitted parents | Any element that accepts phrasing content. |
| Permitted ARIA roles | Any |
| DOM interface | HTMLElement Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element. |
Atributos
Este elemento inclui apenas atributos globais.
Notas
- A creative work may include a book, a paper, an essay, a poem, a score, a song, a script, a film, a TV show, a game, a sculpture, a painting, a theater production, a play, an opera, a musical, an exhibition, a legal case report, a computer program, a web site, a web page, a blog post or comment, a forum post or comment, a tweet, a written or oral statement, etc.
- The W3C spec states that a reference to a creative work may include the author's name, while WHATWG has declared that it may not include a person's name under any circumstances.
- Use the
citeattribute on a<blockquote>or<q>element to reference an online resource for a source. - To avoid the default italic style from being used for the <cite> element use the CSS
font-styleproperty.
Exemplo
Mais infirmações podem ser encontrada em <cite>[ISO-0000]</cite>.
A saída do HTML acima:
Mais infirmações podem ser encontrada em [ISO-0000].
Especificação
| Specificação | Estado | Comentário |
|---|---|---|
| HTML Living Standard The definition of '<cite>' in that specification. |
Padrão em tempo real | |
| HTML5 The definition of '<cite>' in that specification. |
Recomendação | |
| HTML 4.01 Specification The definition of '<cite>' in that specification. |
Recomendação |
Navegadores compatíveis
Estamos convertendo nossos dados de compatibilidade para o formato JSON.
Esta tabela de compatibilidade ainda usa o formato antigo,
pois ainda não convertemos os dados que ela contém.
Descubra como você pode ajudar!
| Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|---|
| Basic support | (Yes) | (Yes) | 1.0 (1.7 or earlier) | (Yes) | (Yes) | (Yes) |
| Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| Basic support | (Yes) | (Yes) | 1.0 (1.0) | (Yes) | (Yes) | (Yes) |
Veja também
- O elemento
<blockquote>é para citações longas. - O elemento
<q>é para citações curtas ou na mesma linha.