코드랩 레퍼런스
<address> 본문
특징 | 설명 |
---|---|
콘텐츠 카테고리 | Flow Content, Palpable Content |
콘텐츠 속성 | Global Attributes, Event Attributes |
콘텐츠 요소 | Block Element |
닫는 태그 | Closing (<address> ~ </address>) |
버전 | HTML4 |
시각적 표현 | 기울임꼴 |
Definition
- <address> 태그는 body 내에 있다면 문서 연락처, <aritcle> 내에 있다면 기사 연락처를 정의합니다.
- <address> 태그는 주로 문서의 <footer> 섹션에서 사용합니다.
Compare
- <address> 태그는 연락처와 관련 없는 내용이라면 <p> 태그를 사용합니다.
- <address> 태그는 연락처 정보보다 더 광범위한 정보를 포함 할 수 없습니다.(시간을 나타내는 time 태그등)
Compatibility
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<address> |
Sample
address 태그
Webstoryboy@naver.com<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Sample address</title>
</head>
<body>
<h1>address 태그</h1>
<address>Webstoryboy@naver.com</address>
</body>
</html>