--- id: html-iframes title: "HTML Iframes" category: "Frontend" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["iframe", "inline frame", "embed page", "iframe target", "iframe src"] 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", "embedding"] raw_sources: ["https://www.w3schools.com/html/html_iframe.asp"] applied_in: [] github_commit: "" --- # [[HTML Iframes]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) An HTML iframe (`` to place an external/internal page inside the current one. [S1] - **Styling pattern** β€” control size and border with either HTML attributes (`height`/`width`) or inline CSS (`style`). [S1] - **Named-target pattern** β€” give the iframe a `name`, then point a link's `target` at that name to load content into the frame. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) **HTML Iframes.** An HTML iframe is used to display a web page within a web page. The HTML ` ``` > **Tip:** It is a good practice to always include a `title` attribute for the ` ``` Or you can use the CSS `height` and `width` properties: [S1] ```html ``` **Iframe β€” Remove the Border.** By default, an iframe has a border around it. To remove the border, add the `style` attribute and use the CSS `border` property: [S1] ```html ``` With CSS, you can also change the size, style, and color of the iframe's border: [S1] ```html ``` **Iframe β€” Target for a Link.** An iframe can be used as the target frame for a link. The `target` attribute of the link must refer to the `name` attribute of the iframe. [S1] ```html

W3Schools.com

``` **Chapter Summary.** [S1] - The HTML ` ``` Sized, borderless iframe (HTML): ```html ``` Iframe as link target (HTML): ```html W3Schools.com ``` ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (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.89 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[HTML Tutorial]] - **κ΄€λ ¨ κ°œλ…:** [[HTML Div]], [[HTML JavaScript]], [[HTML Block and Inline]], [[HTML Tables]] - **μ°Έμ‘° λ§₯락:** Referenced whenever one web page must be embedded inside another, or a link should load content into a named frame. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” HTML Iframes β€” https://www.w3schools.com/html/html_iframe.asp ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-06-23: Initial draft synthesized from the W3Schools "HTML Iframes" page (Astra wiki-curation, P-Reinforce v3.1 format).