docs(10_Wiki): W3Schools 위키화 — HTML/CSS/JavaScript(core)
W3Schools 튜토리얼을 P-Reinforce v3.1 포맷으로 위키화(영어 본문, 한/영 섹션 헤더). - Topic_HTML: 59문서 (튜토리얼+예제, 레퍼런스/메타 제외) - Topic_CSS: 190문서 (메인 + Advanced/Flexbox/Grid/RWD 전체) - Topic_JavaScript: 120문서 (코어 언어; Temporal/DOM상세/BOM/WebAPI/AJAX/jQuery/Graphics 등은 후속) 각 폴더 00_INDEX.md(MOC) 포함. 코드 verbatim, 미확인분은 "Not found in source" 표기. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
---
|
||||
id: html-lists
|
||||
title: "HTML Lists"
|
||||
category: "Frontend"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["HTML list", "unordered list", "ordered list", "description list", "ul ol li"]
|
||||
duplicate_of: ""
|
||||
source_trust_level: "B"
|
||||
confidence_score: 0.90
|
||||
created_at: 2026-06-23
|
||||
updated_at: 2026-06-23
|
||||
review_reason: ""
|
||||
merge_history: []
|
||||
tags: ["html", "web", "frontend", "w3schools", "lists"]
|
||||
raw_sources: ["https://www.w3schools.com/html/html_lists.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[HTML Lists]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
HTML lists group related items as unordered (bulleted) lists, ordered (numbered) lists, or description lists that pair terms with their descriptions. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **Unordered list (`<ul>`)** — a list of items where order does not matter; items show with bullet markers by default. Each item is an `<li>`. [S1]
|
||||
- **Ordered list (`<ol>`)** — a list where order matters; items show numbered by default. Each item is an `<li>`. [S1]
|
||||
- **List item (`<li>`)** — the element used for each item inside both `<ul>` and `<ol>`. [S1]
|
||||
- **Description list (`<dl>`)** — a list of terms with a description of each term, using `<dt>` for the term and `<dd>` for its description. [S1]
|
||||
|
||||
## 🧩 추출된 패턴 (Extracted patterns)
|
||||
- **Container + item pattern** — both unordered and ordered lists wrap a series of `<li>` items in a single list container (`<ul>` or `<ol>`). [S1]
|
||||
- **Term/description pairing pattern** — a description list alternates `<dt>` (term) and `<dd>` (description) pairs inside `<dl>`. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
**Unordered HTML List.** An unordered list starts with the `<ul>` tag. Each list item starts with the `<li>` tag. The list items will be marked with bullets (small black circles) by default. [S1]
|
||||
```html
|
||||
<ul>
|
||||
<li>Coffee</li>
|
||||
<li>Tea</li>
|
||||
<li>Milk</li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
**Ordered HTML List.** An ordered list starts with the `<ol>` tag. Each list item starts with the `<li>` tag. The list items will be marked with numbers by default. [S1]
|
||||
```html
|
||||
<ol>
|
||||
<li>Coffee</li>
|
||||
<li>Tea</li>
|
||||
<li>Milk</li>
|
||||
</ol>
|
||||
```
|
||||
|
||||
**HTML Description Lists.** HTML also supports description lists. A description list is a list of terms, with a description of each term. The `<dl>` tag defines the description list, the `<dt>` tag defines the term (name), and the `<dd>` tag describes each term. [S1]
|
||||
```html
|
||||
<dl>
|
||||
<dt>Coffee</dt>
|
||||
<dd>- black hot drink</dd>
|
||||
<dt>Milk</dt>
|
||||
<dd>- white cold drink</dd>
|
||||
</dl>
|
||||
```
|
||||
|
||||
**HTML List Tags.** [S1]
|
||||
|
||||
| Tag | Description |
|
||||
|---|---|
|
||||
| `<ul>` | Defines an unordered list |
|
||||
| `<ol>` | Defines an ordered list |
|
||||
| `<li>` | Defines a list item |
|
||||
| `<dl>` | Defines a description list |
|
||||
| `<dt>` | Defines a term in a description list |
|
||||
| `<dd>` | Describes the term in a description list |
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
The "Coffee / Tea / Milk" examples above are the canonical applied examples of each list type. No external project/commit applications found in the source.
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Unordered list (HTML):
|
||||
```html
|
||||
<ul>
|
||||
<li>Item</li>
|
||||
</ul>
|
||||
```
|
||||
Ordered list (HTML):
|
||||
```html
|
||||
<ol>
|
||||
<li>Item</li>
|
||||
</ol>
|
||||
```
|
||||
Description list (HTML):
|
||||
```html
|
||||
<dl>
|
||||
<dt>Term</dt>
|
||||
<dd>Description</dd>
|
||||
</dl>
|
||||
```
|
||||
|
||||
## ⚖️ 비교 및 선택 기준 (Comparison & decision criteria)
|
||||
- **Use `<ul>`** when the order of items does not matter (rendered with bullets). [S1]
|
||||
- **Use `<ol>`** when order matters (rendered with numbers). [S1]
|
||||
- **Use `<dl>`** when each item is a term paired with a description. [S1]
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
No contradictions found in the source. [S1]
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual (실제 적용 사례 발견 시 applied/validated로 승격 가능)
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
||||
- **신뢰 점수:** 0.90
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[HTML Tutorial]]
|
||||
- **관련 개념:** [[HTML Tables]], [[HTML Block and Inline]], [[HTML Div]], [[HTML Elements]]
|
||||
- **참조 맥락:** Referenced whenever a sequence or grouping of related items must be displayed on a web page.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — HTML Lists — https://www.w3schools.com/html/html_lists.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-06-23: Initial draft synthesized from the W3Schools "HTML Lists" page (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user