HTML 사전

title

설명

The HTML Title Element (<title>) defines title of the document, as shown in the browser's title bar or on the page's tab. It can only contain text.

<title> 요소는 문서의 제목을 정의해준다. <title>에서 정의된 내용은 브라우저의 타이틀 바나 페이지 탭에 표시된다. <title>은 문자열로만 작성해야 한다. 이미지, 동영상, 하이퍼 링크 등은 안된다. 또한 <title>요소 안의 또 다른 태그 요소 또한 허용하지 않는다. 

Usage Context

Content categories Metadata content
Permitted content Text
Tag omission All tags required. Note that leaving off </title>
may cause the browser to eat the rest of the page.
\Permitted parent elements A <head> element that contains no other <title> elements.
Normative document HTML, "The title element"

속성

다른 모든 HTML 엘리먼트와 마찬가지로, 이 엘리먼트는 전역속성을 지원한다. 그외의 다른 엘리먼트는 지원하지 않는다.

예제

<title>Awesome page title</title> 
<title>지금은 공동번역중...</title>

DOM Interface

This element implements the HTMLTitleElement interface.

참고

댓글

댓글 본문
버전 관리
마법부리는곰
현재 버전
선택 버전
graphittie 자세히 보기