-
카테고리
-
세부 분야
웹 개발
-
해결 여부
해결됨
address 요소 설명 중 궁금한 것이 있어서 질문드립니다.
21.01.03 18:33 작성 조회수 207
0
- 스펙 문서를 보면 중에 https://html.spec.whatwg.org/multipage/sections.html#the-address-element
address의 요소에 대한 관한 설명을 보면 연락처 정보를 나타낸다고 나오는데 , 그 중에서 연락처 정보(contact information) 외 이외의 다른 정보를 담으면 안된다고 해서요.
아래는 스펙 문서 내용입니다.
-------------------------------------------------------------------------------------------------------------------
The address
element must not be used to represent arbitrary addresses (e.g. postal addresses), unless those addresses are in fact the relevant contact information. (The p
element is the appropriate element for marking up postal addresses in general.)
The address
element must not contain information other than contact information.
-------------------------------------------------------------------------------------------------------------------
그런데 강의에서는 발행자 정보(작성자명, 발행일자 등)를 담아낼수 있다고 해서 궁금해서 질문합니다.
답변을 작성해보세요.
1
조은
지식공유자2021.01.03
안녕하세요.
스펙에서 말하는 것 처럼 address 요소에는 contact information을 담는 게 맞고,
publication information과 contact information이 겹치는 영역이 있어 가능하다 설명을 드린 것 같은데,
오히려 헷갈리는 부분이 되었던 거 같습니다.
해당 내용은 본문 내용을 변경해두도록 하겠습니다!
제보해주셔서 감사합니다.
0
0
답변 3