aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/css/frequency/index.html
blob: 6b3d88b859b79f742f6e104a203eeb2746db1cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
title: <frequency>
slug: Web/CSS/frequency
tags:
  - CSS
  - CSS Data Type
  - Reference
  - Web
translation_of: Web/CSS/frequency
---
<div>{{CSSRef}}</div>

<p><a href="/ko/docs/Web/CSS">CSS </a><strong><code>&lt;frequency&gt;</code></strong> <a href="/ko/docs/Web/CSS/CSS_Types">자료형</a>은 목소리의 높낮이 등 주파수를 나타냅니다. 현재 어떤 CSS 속성도 <code>&lt;frequency&gt;</code>를 사용하지 않습니다.</p>

<h2 id="구문">구문</h2>

<p><code>&lt;frequency&gt;</code> 자료형은 {{cssxref("&lt;number&gt;")}} 다음에 아래 나열한 단위 중 하나를 붙여 구성핳합니다. 다른 CSS 단위와 마찬가지로 숫자와 단위 문자 사이에 공백은 존재하지 않습니다.</p>

<h3 id="단위">단위</h3>

<dl>
 <dt><code><a id="Hz" name="Hz">Hz</a></code></dt>
 <dd>헤르츠로 주파수를 나타냅니다. 예시: <code>0Hz</code>, <code>1500Hz</code>, <code>10000Hz</code>.</dd>
 <dt><code><a id="kHz" name="kHz">kHz</a></code></dt>
 <dd>킬로헤르츠로 주파수를 나타냅니다. 예시: <code>0kHz</code>, <code>1.5kHz</code>, <code>10kHz</code>.</dd>
</dl>

<div class="note">
<p><strong>참고:</strong> <code>0</code>은 단위와 상관없이 언제나 같은 값을 나타내지만, 주파수에서는 단위를 생략할 수 없습니다. 즉 <code>0</code>은 유효한 주파수가 아니며 <code>0Hz</code><code>0kHz</code>를 나타내지 않습니다. 단위 문자가 대소문자를 구분하지 않기는 하지만, <a href="https://ko.wikipedia.org/wiki/%EA%B5%AD%EC%A0%9C%EB%8B%A8%EC%9C%84%EA%B3%84">SI</a>에서 명시한 대로 "H"는 대문자로 표기하는 게 좋습니다.</p>
</div>

<h2 id="예제"><span>예제</span></h2>

<h3 id="유효한_주파수">유효한 주파수</h3>

<pre class="notranslate">12Hz     양의 정수
4.3Hz    실수
14KhZ    단위가 대소문자를 구분하지 않지만, SI 표준에서 벗어난 표기는 비추천
+0Hz     0, 양의 부호와 단위
-0kHz    0, 음의 부호와 단위</pre>

<h3 id="유효하지_않은_주파수">유효하지 않은 주파수</h3>

<pre class="example-bad notranslate">12.0     단위가 없으므로 &lt;number&gt;지만 &lt;frequency&gt;가 아님
7 Hz     수와 단위 사이에 공백은 불허
0        &lt;length&gt;는 단위 없는 0을 받을 수 있지만, &lt;frequency&gt;는 불가능</pre>

<h2 id="명세">명세</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('CSS3 Values', '#frequency', '&lt;frequency&gt;')}}</td>
   <td>{{Spec2('CSS3 Values')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<div class="note">
<p><strong>참고:</strong> <code>&lt;frequency&gt;</code><a class="external" href="https://www.w3.org/TR/CSS2/aural.html#q19.0" title="http://www.w3.org/TR/CSS2/">CSS Level 2</a>의, 지금은 사용하지 않는 청각적 <a href="/ko/docs/Web/CSS/@media#미디어_특성">미디어 특성</a>에서 음성의 높낮이를 설정할 때 사용했습니다. 이후 CSS3에서 다시 추가됐지만, 지금으로써는 어떤 CSS 속성에서도 사용하지 않습니다.</p>
</div>

<h2 id="브라우저_호환성">브라우저 호환성</h2>



<p>{{Compat("css.types.frequency")}}</p>