Files
2nd/10_Wiki/Topic_HTML/HTML_Media.md
T
koriweb 9609c04755 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>
2026-06-23 19:21:18 +09:00

103 lines
6.7 KiB
Markdown

---
id: html-media
title: "HTML Media"
category: "Frontend"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["HTML multimedia", "media formats", "web media", "audio formats", "video formats"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.88
created_at: 2026-06-23
updated_at: 2026-06-23
review_reason: ""
merge_history: []
tags: ["html", "web", "frontend", "media", "multimedia", "html5", "w3schools"]
raw_sources: ["https://www.w3schools.com/html/html_media.asp"]
applied_in: []
github_commit: ""
---
# [[HTML Media]]
## 🎯 한 줄 통찰 (One-line insight)
Web multimedia is anything you can see or hear — images, music, sound, video, animations — but only a small set of formats (MP4/WebM/Ogg for video, MP3/WAV/Ogg for audio) is actually supported by the HTML standard across browsers. [S1]
## 🧠 핵심 개념 (Core concepts)
- **Multimedia is broad** — it can be almost anything you can hear or see: images, music, sound, videos, records, films, animations, and more. [S1]
- **Browsers evolved** — early web browsers supported only text in a single font and color; modern browsers support colors, fonts, images, and multimedia. [S1]
- **Formats matter** — multimedia files have their own formats and extensions; only some are supported by HTML. [S1]
- **HTML-supported video** — only MP4, WebM, and Ogg video are supported by the HTML standard. [S1]
- **HTML-supported audio** — only MP3, WAV, and Ogg audio are supported by the HTML standard. [S1]
## 🧩 추출된 패턴 (Extracted patterns)
- **Format-by-extension pattern** — a media file's container/codec is identified by its extension (.mp4, .webm, .ogg, .mp3, .wav). [S1]
- **HTML-standard subset pattern** — many formats exist, but author for the HTML-supported subset (MP4/WebM/Ogg, MP3/WAV/Ogg) for cross-browser playback. [S1]
- **Recommended-format pattern** — MP4 is supported by all browsers and recommended by YouTube; MP3 is supported by all browsers for audio. [S1]
## 📖 세부 내용 (Details)
**What is multimedia?** Multimedia on the web is sound, music, videos, movies, and animations. Multimedia comes in many different formats — almost anything you can hear or see: images, music, sound, videos, records, films, animations, and more. [S1]
**Browser support** — web pages often contain multimedia elements of different types and formats. Early web browsers had support for only text, limited to a single font in a single color. Later browsers added support for colors, fonts, images, and multimedia. [S1]
**Common video formats** — multimedia elements (like audio or video) are stored in media files; the most common way to discover the type is to look at the file extension: [S1]
| Format | File | Description |
|---|---|---|
| MPEG | .mpg, .mpeg | One of the first popular video formats for the web; no longer supported in HTML |
| AVI | .avi | Developed by Microsoft; commonly used in video cameras and TV hardware; plays well on Windows but not in web browsers |
| WMV | .wmv | Windows Media Video, developed by Microsoft; plays well on Windows but not in web browsers |
| QuickTime | .mov | Developed by Apple; plays well on Apple computers but not in web browsers |
| RealVideo | .rm, .ram | Developed by Real Media for video streaming with low bandwidths; does not play in web browsers |
| Flash | .swf, .flv | Developed by Macromedia, often requires an extra plug-in; no longer supported |
| Ogg | .ogg | Theora Ogg, supported by HTML |
| WebM | .webm | Developed by Mozilla, Opera, Adobe, and Google; supported by HTML |
| MP4 | .mp4 | Designed to store video and audio; commonly used in video cameras and TV hardware; supported by all browsers and recommended by YouTube |
**Note:** Only MP4, WebM, and Ogg video are supported by the HTML standard. [S1]
**Common audio formats** — [S1]
| Format | File | Description |
|---|---|---|
| MIDI | .mid, .midi | Format for electronic music devices; very small files; not supported directly by web browsers |
| RealAudio | .rm, .ram | Developed by Real Media for audio streaming at low bandwidths; does not play in web browsers |
| WMA | .wma | Windows Media Audio; plays well on Windows but not in web browsers |
| AAC | .aac | Advanced Audio Coding, developed by Apple as the default format for iTunes; does not play in web browsers |
| WAV | .wav | Developed by IBM and Microsoft; plays well on Windows, Macintosh, and Linux; supported by HTML |
| Ogg | .ogg | Developed by the Xiph.Org Foundation; supported by HTML |
| MP3 | .mp3 | The most popular format for music players; combines good compression with high quality; supported by all browsers |
| MP4 | .mp4 | A video format, but can also be used for audio; supported by all browsers |
**Note:** Only MP3, WAV, and Ogg audio are supported by the HTML standard. [S1]
## 🛠️ 적용 사례 (Applied in summary)
The format tables above are the practical takeaway: when adding `<video>` or `<audio>` to a page, author for the HTML-supported subset (MP4/WebM/Ogg video; MP3/WAV/Ogg audio), favoring MP4 and MP3 for the widest browser coverage. No external project/commit applications found in the source.
## 💻 코드 패턴 (Code patterns)
This overview page does not present a specific code example; the supported formats are applied via the `<video>` and `<audio>` elements documented in [[HTML Video]] and [[HTML Audio]]. The actionable pattern is the HTML-supported format subset:
- Video: MP4 (`video/mp4`), WebM (`video/webm`), Ogg (`video/ogg`)
- Audio: MP3 (`audio/mpeg`), WAV (`audio/wav`), Ogg (`audio/ogg`)
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
No contradictions found in the source. The historical note is that several once-common formats (MPEG, Flash .swf/.flv, RealMedia) are "no longer supported" in browsers — reflecting the move to the small, royalty-conscious HTML-native format set. [S1]
## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual (실제 적용 사례 발견 시 applied/validated로 승격 가능)
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.88
- **중복 검사 결과:** 신규 생성 (New discovery)
## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[HTML Tutorial]]
- **관련 개념:** [[HTML Video]], [[HTML Audio]], [[HTML Plug-ins]], [[HTML5]]
- **참조 맥락:** Referenced when choosing which audio/video file formats to provide for cross-browser playback.
## 📚 출처 (Sources)
- [S1] W3Schools — HTML Media — https://www.w3schools.com/html/html_media.asp
## 📝 변경 이력 (Change history)
- 2026-06-23: Initial draft synthesized from the W3Schools "HTML Media" page (Astra wiki-curation, P-Reinforce v3.1 format).