HTML 사전

hgroup

설명

The HTML Headings Group Element (<hgroup>) represents the heading of a section. It defines a single title that participates in the outline of the document as the heading of the implicit or explicit section that it belongs too.

Its text for the outline algorithm is the text of the first HTML Heading Element of highest rank (i.e., the first <h1>, <h2>, <h3>, <h4>, <h5> or <h6> with the smallest number among its descendants) and the rank is the rank of this very same HTML Heading Element.

Therefore this element groups several headings, contributing only the main one to the outline of the document. It allows associating secondary titles, like subheadings, alternative titles, or even taglines, with the main heading, without polluting the outline of the document.

<hgroup>은 문단 혹은 글의 제목을 표현한다. 이 요소는 어떤 하나의 제목를 규정하는데, 그 제목은 그것이 포함되는 애매하거나 명백한 부분에 대한 머릿글로써 문서 개요의 한 부분을 차지한다.

전반적인 개요 알고리즘을 위한 문구는  가장 높은 HTML 첫번째 머릿말 요소(HTML Heading Element)의 문구다. (가령, 첫번째 <h1>, <h2>, <h3>, <h4>, <h5>, <h6>의 자손 중 가장 작은 숫자) 그리고 순위는 해당 HTML Heading Element의 순위와 같다.

그러므로 hgroup은 여러 heading을 묶어주며 문서 전체 개요에서 유일한 heading이 되게 한다. hgroup은 부제, 대등 제목 또는 표지선 같은 부가 타이틀과도 전체 문서의 개요를 해치지 않는 범위에서 연관될 수 있다.

Usage Context

Permitted content Zero or more HTML Heading Elements (<h1>, <h2>, <h3>, <h4>, <h5>, <h6>)
Tag omission None, both the start tag and the end tag are mandatory
Permitted parent elements Any element that accepts flow content.
Normative document HTML5, section 4.4.7

속성

이 엘리먼트는 전역속성을 지원한다.

예제

<hgroup>
  <h1>Main title</h1>
  <h2>Secondary title</h2>
</hgroup>

DOM Interface

This element implements the HTMLElement interface.

이 요소는 HTMLElement 인터페이스를 구현한다.

호환성

Desktop
기능 구글크롬 파이어폭스Gecko) 인터넷 익스플로러 Opera Safari
기본적인 지원 지원 4.0 (2.0) 9.0 11.0 4.0
Mobile
기능 안드로이드 파이어폭스 모바일(Gecko) 인터넷 익스플로러 모바일 오페라 모바일 사파리 모바일
기본적인 지원   4.0 (2.0)      

참고

댓글

댓글 본문
버전 관리
graphittie
현재 버전
선택 버전
graphittie 자세히 보기