English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Manual de referência do HTML

大全 do HTML 标签

Tag <address> do HTML

A marcação <address> HTML define as informações de contato mais próximas do <article> ou <body> do documento HTML. Tradicionalmente, os navegadores apresentam o texto encontrado na marcação <address> como texto em itálico. Este marcador também é conhecido como elemento <address>.

Exemplo online

w3Informações de contato do codebox.com:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>Base Tutorial Website(oldtoolbag.com)</title> 
</head>
<body>
<address>
  Você pode nos contatar em:<br>
  oldtoolbag.com<br>
  123 Alguém St.<br>
  Cidade, Estado
</address>
</body>
</html>
Teste e veja ‹/›

Compatibilidade do navegador

IEFirefoxOperaChromeSafari

Todos os navegadores populares suportam a tag <address>.

Definição e instruções de uso da tag

A tag <address> define o autor do documento/Contact information of the owner.

Se o elemento <address> estiver dentro do elemento <body>, ele representa o autor do documento/Contact information of the owner.

Se o elemento <address> estiver dentro do elemento <article>, ele representa o autor do artigo/Contact information of the owner.

O texto do elemento <address> geralmente é apresentado comoItálico.A maioria dos navegadores adiciona quebras de linha antes e depois deste elemento.

Dicas e observações

Dica:O elemento <address> geralmente é incluído em <footer> Outras informações do elemento.

O elemento <address> HTML está dentro da marcação <body>.
<address> tag provides HTML 4.01As informações de contato mais próximas do <body>.
<address> tag provides HTML5the most recent contact information of <article> or <body>.
The <address> tag is usually placed in <footer>, used for <article> or <body>.
Do not place the publication date within the <address> tag, but use the <time> tag instead.
For versions of IE earlier than 9IE browsers, please use HTML5shiv, which is a JavaScript solution to enable new HTML5elements provide support, such as: <header>, <main>, <article>, <section>, <aside>, <nav>. <footer>.
Most browsers will display the text within the <address> tag in italic, but you can change this behavior with CSS.

HTML 4.01 with HTML5differences

HTML 4.01 Does not support <article> tag, so in HTML 4.01 In the <address> tag is always defineddocumentof the author/Contact information of the owner.

Global attributes

Support for <address> tag Global attributes of HTML.

Event attributes

Support for <address> tag Event attributes of HTML.