English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML tag大全

HTML: <section> 태그

The HTML <section> element represents an independent part contained within an HTML document, which does not have a more specific semantic element to represent it. Generally, it will contain a title. This tag is also commonly referred to as the <section> element.

Online Example

Create a <section> tag:

!doctype html
<html>
<head>
<meta charset="UTF-8">
<title>HTML section tag usage (Basic Tutorial Website oldtoolbag.com)</title>
</head>
<body>
<section>
  <h1>Heading for Section</h1>
  <p>Text that appears under section</p>
</section>
</body>
</html>
테스트를 해보세요 ‹/›

브라우저 호환성

IEFirefoxOperaChromeSafari

IE 9+Firefox, Opera, Chrome 및 Safari <section> 태그.

주의:IE 8 또는 이전 버전의 IE 브라우저에서는 <section> 태그를 지원하지 않습니다.

태그 정의 및 사용 설명

<section> 태그는 문서의 특정 영역을 정의합니다. 예를 들어, 장, 헤더, 푸터 또는 문서의 다른 영역.

<section> 태그는 일반적으로 내용의 주제 그룹으로 사용됩니다.

이전版本的 IE 브라우저에서는 <section> 태그를 지원하지 않습니다. 9의 IE 브라우저에서는 HTML5shiv, 이는 새로운 HTML을 IE 브라우저에 적용하는 JavaScript 해결책입니다.5요소에 대한 지원을 제공합니다. 예를 들어: <header>،<main>،<article>,<section>,<aside>,<nav>。<footer>.

HTML 4.01 와 HTML5사이의 차이

<section> 태그는 HTML5 에 새 태그가 포함됩니다.

전체 속성

<section> 태그가 지원 HTML의 전체 속성

이벤트 속성

<section> 태그가 지원 HTML 이벤트 속성