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,131 @@
|
||||
---
|
||||
id: html-basic
|
||||
title: "HTML Basic"
|
||||
category: "Frontend"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["HTML basics", "basic HTML examples", "HTML fundamentals", "HTML starter", "HTML basic tags"]
|
||||
duplicate_of: ""
|
||||
source_trust_level: "B"
|
||||
confidence_score: 0.89
|
||||
created_at: 2026-06-23
|
||||
updated_at: 2026-06-23
|
||||
review_reason: ""
|
||||
merge_history: []
|
||||
tags: ["html", "web", "frontend", "w3schools", "basics", "tags"]
|
||||
raw_sources: ["https://www.w3schools.com/html/html_basic.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[HTML Basic]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
A handful of basic HTML examples — document structure, headings, paragraphs, links, and images — are enough to build a first web page; don't worry if the tags aren't fully understood yet. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **Every HTML document declares its type** — must start with `<!DOCTYPE html>`. [S1]
|
||||
- **The HTML document itself** — begins with `<html>` and ends with `</html>`. [S1]
|
||||
- **Visible content lives in the body** — the visible part of the document is between `<body>` and `</body>`. [S1]
|
||||
- **Headings** — defined with `<h1>` through `<h6>`, where `<h1>` is the most important and `<h6>` the least. [S1]
|
||||
- **Paragraphs** — defined with the `<p>` tag. [S1]
|
||||
- **Links** — defined with `<a>`; the destination is specified in the `href` attribute. [S1]
|
||||
- **Images** — defined with `<img>`, using `src` (path), `alt` (alternate text), `width`, and `height` attributes. [S1]
|
||||
|
||||
## 🧩 추출된 패턴 (Extracted patterns)
|
||||
- **Doctype + html + body skeleton** — the minimal scaffold every page reuses. [S1]
|
||||
- **Heading hierarchy** — `<h1>`…`<h6>` express importance, not just size. [S1]
|
||||
- **Attribute-carrying elements** — links carry `href`; images carry `src`/`alt`/`width`/`height`. [S1]
|
||||
- **Inspect the source** — view a page's HTML with Ctrl+U or right-click → View Page Source / Inspect. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
**HTML Documents**
|
||||
All HTML documents must start with a document type declaration: `<!DOCTYPE html>`. The HTML document itself begins with `<html>` and ends with `</html>`. The visible part of the HTML document is between `<body>` and `</body>`. [S1]
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h1>My First Heading</h1>
|
||||
<p>My first paragraph.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
**HTML Headings**
|
||||
HTML headings are defined with the `<h1>` to `<h6>` tags. `<h1>` defines the most important heading; `<h6>` defines the least important heading. [S1]
|
||||
```html
|
||||
<h1>This is heading 1</h1>
|
||||
<h2>This is heading 2</h2>
|
||||
<h3>This is heading 3</h3>
|
||||
```
|
||||
|
||||
**HTML Paragraphs**
|
||||
HTML paragraphs are defined with the `<p>` tag. [S1]
|
||||
```html
|
||||
<p>This is a paragraph.</p>
|
||||
<p>This is another paragraph.</p>
|
||||
```
|
||||
|
||||
**HTML Links**
|
||||
HTML links are defined with the `<a>` tag. The link's destination is specified in the `href` attribute. [S1]
|
||||
```html
|
||||
<a href="https://www.w3schools.com">This is a link</a>
|
||||
```
|
||||
|
||||
**HTML Images**
|
||||
HTML images are defined with the `<img>` tag. The source file (`src`), alternative text (`alt`), `width`, and `height` are provided as attributes. [S1]
|
||||
```html
|
||||
<img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142">
|
||||
```
|
||||
|
||||
**How to View HTML Source**
|
||||
You can view the HTML source of a page. By pressing Ctrl + U in a browser, or right-clicking on the page and selecting "View Page Source," you can see the HTML. You can also right-click an element and choose "Inspect" to see what elements are made up of. [S1]
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
The document skeleton and the heading/paragraph/link/image snippets above are the basic building blocks reused on virtually every page. No external project/commit applications found in the source.
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Basic HTML document (HTML):
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h1>My First Heading</h1>
|
||||
<p>My first paragraph.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
A link:
|
||||
```html
|
||||
<a href="https://www.w3schools.com">This is a link</a>
|
||||
```
|
||||
An image:
|
||||
```html
|
||||
<img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142">
|
||||
```
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
No contradictions found in the source.
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual (실제 적용 사례 발견 시 applied/validated로 승격 가능)
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
||||
- **신뢰 점수:** 0.89
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[HTML Tutorial]]
|
||||
- **관련 개념:** [[HTML Introduction]], [[HTML Elements]], [[HTML Headings]], [[HTML Paragraphs]], [[HTML Attributes]]
|
||||
- **참조 맥락:** The quick-start overview referenced when introducing the core tags before studying each in depth.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — HTML Basic — https://www.w3schools.com/html/html_basic.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-06-23: Initial draft synthesized from the W3Schools "HTML Basic" page (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user