From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/web/html/element/head/index.html | 129 ++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 files/ko/web/html/element/head/index.html (limited to 'files/ko/web/html/element/head/index.html') diff --git a/files/ko/web/html/element/head/index.html b/files/ko/web/html/element/head/index.html new file mode 100644 index 0000000000..4dd99da8dd --- /dev/null +++ b/files/ko/web/html/element/head/index.html @@ -0,0 +1,129 @@ +--- +title: ': 문서 메타데이터 (헤더) 요소' +slug: Web/HTML/Element/head +tags: + - Element + - HTML + - HTML document metadata + - 'HTML:Metadata content' + - Reference + - Web + - 요소 +translation_of: Web/HTML/Element/head +--- +
{{HTMLRef}}
+ +

HTML <head> 요소는 기계가 식별할 수 있는 문서 정보(메타데이터)를 담습니다. 정보로는 문서가 사용할 제목, 스크립트, 스타일 시트 등이 있습니다.

+ +
+

참고: <head>의 주 목적은 기계 처리를 위한 정보이고, 사람이 읽을 수 있는 정보가 아닙니다. 최상위 제목, 작성자 목록 등 사람에게 보여야 할 정보는 {{HTMLElement("header")}} 요소를 사용하세요.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
콘텐츠 카테고리없음.
가능한 콘텐츠 +

현재 문서가 {{HTMLElement("iframe")}} {{htmlattrxref("srcdoc", "iframe")}} 문서거나, 제목 정보가 더 높은 단계의 규약에 존재하는 경우(HTML 이메일의 제목처럼) 0개 이상의 메타에이터 콘텐츠.

+ +

이외에는 하나 이상의 메타데이터 콘텐츠. 단, 정확히 한 개의 {{htmlelement("title")}} 요소를 포함해야 합니다.

+
태그 생략<head> 요소 내의 첫 번째 것이 요소라면 여는 태그를 생략할 수 있습니다.
+ <head> 요소 뒤의 첫 번째 항목이 공백문자나 주석이 아니라면 닫는 태그를 생략할 수 있습니다.
가능한 부모 요소{{HTMLElement("html")}} 요소의 첫 번째 자식으로 배치.
암시적 ARIA 역할대응하는 역할 없음
가능한 ARIA 요소없음
DOM 인터페이스{{domxref("HTMLHeadElement")}}
+ +

특성

+ +

이 요소는 전역 특성만 포함합니다.

+ +

예제

+ +
<!doctype html>
+<html>
+  <head>
+    <title>문서 제목</title>
+  </head>
+</html>
+
+ +

참고

+ +

HTML5 호환 브라우저는 <head>가 없는 경우 자동으로 생성합니다. 하지만 오래된 구형 브라우저에서는 그렇지 않습니다.

+ +

명세

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
명세상태주석
{{SpecName('HTML WHATWG', 'semantics.html#the-head-element', '<head>')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'document-metadata.html#the-head-element', '<head>')}}{{Spec2('HTML5 W3C')}}
{{SpecName('HTML4.01', 'struct/global.html#h-7.4.1', '<head>')}}{{Spec2('HTML4.01')}}
+ +

브라우저 호환성

+ + + +

{{Compat("html.elements.head")}}

+ +

같이 보기

+ + -- cgit v1.2.3-54-g00ecf