• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. 개발자를 위한 웹 기술
  2. HTML: Hypertext Markup Language
  3. HTML 참고서
  4. HTML 요소 참고서
    • English (US)
    • Deutsch
    • Español
    • Français
    • 日本語
    • Português (do Brasil)
    • Русский
    • 中文 (简体)
    • 正體中文 (繁體)

이 페이지는 영어로부터 커뮤니티에 의하여 번역되었습니다. MDN Web Docs에서 한국 커뮤니티에 가입하여 자세히 알아보세요.

목차

  • 시도해 보기
  • 특성
  • 접근성 고려사항
  • 예제
  • 기술 요약
  • 명세
  • 브라우저 호환성
  • 같이 보기
  1. HTML: Hypertext Markup Language
  2. 안내서:
  3. 콘텐츠 카테고리
  4. Comments
  5. HTML의 날짜와 시간 형식
  6. Constraint validation
  7. Viewport meta tag
  8. 반응형 이미지
  9. Microdata
  10. Microformats
  11. Quirks 모드
  12. HTML cheatsheet
  13. How to
  14. Define terms with HTML
  15. 데이터 속성 사용하기
  16. 교차 출처 이미지와 캔버스 허용하기
  17. Add a hitmap on top of an image
  18. Tips for Authoring Fast-loading HTML Pages
  19. Add JavaScript
  20. 참고서:
  21. 요소
    1. 지원이 중단되었습니다
    2. 지원이 중단되었습니다

    3. 지원이 중단되었습니다
    4. 지원이 중단되었습니다
    5. Experimental
    6. 지원이 중단되었습니다
    7. 지원이 중단되었습니다
    8. 지원이 중단되었습니다

예약 문자 이스케이프

HTML

html
let i = 5;

if (i < 10 && i > 0)
  return "한 자리 숫자"

결과

기술 요약

콘텐츠 카테고리 플로우 콘텐츠, 뚜렷한 콘텐츠.
가능한 콘텐츠 구문 콘텐츠.
태그 생략 불가능, 시작과 끝에 태그를 추가하는 것은 필수입니다.
가능한 부모 요소 플로우 콘텐츠를 허용하는 모든 요소.
포함되는 ARIA 역할 포괄적
가능한 ARIA 역할 모두
DOM 인터페이스 HTMLPreElement

명세

Specification
HTML
# the-pre-element

브라우저 호환성

같이 보기

  • CSS: white-space, word-break
  • HTML 개체
  • 관련된 요소:

Help improve MDN

Learn how to contribute.

This page was last modified on 2025년 5월 7일 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.