--- 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 ``. [S1] - **The HTML document itself** β begins with `` and ends with ``. [S1] - **Visible content lives in the body** β the visible part of the document is between `
` and ``. [S1] - **Headings** β defined with `` tag. [S1]
- **Links** β defined with ``; the destination is specified in the `href` attribute. [S1]
- **Images** β defined with ` My first paragraph. ` tag. [S1]
```html
This is a paragraph. This is another paragraph.`, 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** β `
`β¦`
` 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: ``. The HTML document itself begins with `` and ends with ``. The visible part of the HTML document is between `` and ``. [S1]
```html
My First Heading
` to `
` tags. `
` defines the most important heading; `
` defines the least important heading. [S1]
```html
This is heading 1
This is heading 2
This is heading 3
```
**HTML Paragraphs**
HTML paragraphs are defined with the `` tag. The source file (`src`), alternative text (`alt`), `width`, and `height` are provided as attributes. [S1]
```html
```
**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
My first paragraph.
``` A link: ```html This is a link ``` An image: ```html
```
## βοΈ λͺ¨μ λ° μ
λ°μ΄νΈ (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).