Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ko]: add index.md for web/glossary/whitespace #16433

Merged
merged 1 commit into from
Oct 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions files/ko/glossary/whitespace/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: 공백 (Whitespace)
slug: Glossary/Whitespace
l10n:
sourceCommit: d842f8c32316dbe36cff9fc5e0e777602e32d958
---

{{GlossarySidebar}}

**공백(Whitespace)** 은 다른 문자 사이에 가로 또는 세로 간격을 제공하는 데 사용되는 {{Glossary("Character", "문자열")}}을 나타냅니다. 공백은 {{Glossary("HTML")}}, {{Glossary("CSS")}}, {{Glossary("JavaScript")}} 및 기타 컴퓨터 언어에서 토큰을 구분하는 데 자주 사용됩니다.

공백 문자와 사용법은 언어마다 차이가 있습니다.

## HTML에서

[Infra Living Standard](https://infra.spec.whatwg.org/#ascii-whitespace)에서는 5개의 문자를 '{{Glossary("ASCII")}} 공백'으로 정의합니다(U+0009 TAB, U+000A LF, U+000C FF, U+000D CR 및 U+0020 SPACE).

## JavaScript에서

[ECMAScript 언어 명세서](https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#sec-white-space)는 여러 유니코드 코드 포인트를 '공백'으로 정의합니다(U+0009 CHARACTER TABULATION \<TAB>, U+000B LINE TABULATION \<VT>, U+000C FORM FEED \<FF>, U+0020 SPACE \<SP>, U+00A0 NO-BREAK SPACE \<NBSP>, U+FEFF ZERO WIDTH NO-BREAK SPACE \<ZWNBSP> 및 기타 유니코드 "Space_Separator" 코드 포인트 \<USP>).

## 같이 보기

- 위키백과의 [공백 문자](https://en.wikipedia.org/wiki/Whitespace_character)
- [HTML, CSS 및 DOM에서 공백을 처리하는 방법](/ko/docs/Web/API/Document_Object_Model/Whitespace)
- {{cssxref("white-space")}}
- 명세서

- [ASCII 공백 명세](https://infra.spec.whatwg.org/#ascii-whitespace)
- [ECMAScript 언어 명세서](https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#sec-white-space)

- [용어 사전](/ko/docs/Glossary)

1. {{Glossary("Character")}}