diff options
Diffstat (limited to 'files/ko/web/html/element/input')
-rw-r--r-- | files/ko/web/html/element/input/date/index.html | 10 | ||||
-rw-r--r-- | files/ko/web/html/element/input/index.html | 54 |
2 files changed, 8 insertions, 56 deletions
diff --git a/files/ko/web/html/element/input/date/index.html b/files/ko/web/html/element/input/date/index.html index 8a40c3cc75..79fae01f34 100644 --- a/files/ko/web/html/element/input/date/index.html +++ b/files/ko/web/html/element/input/date/index.html @@ -124,11 +124,17 @@ console.log(dateControl.valueAsNumber); // prints 1496275200000, a UNIX timestam <h3 id="htmlattrdefstep">{{htmlattrdef("step")}}</h3> -<p>{{page("/en-US/docs/Web/HTML/Element/input/number", "step-include")}}</p> +<p>The <code>step</code> attribute is a number that specifies the granularity that the value must adhere to, or the special value <code>any</code>, which is described below. Only values which are equal to the basis for stepping (<code>{{anch("min")}}</code> if specified, {{htmlattrxref("value", "input")}} otherwise, and an appropriate default value if neither of those is provided) are valid.</p> + +<p>A string value of <code>any</code> means that no stepping is implied, and any value is allowed (barring other constraints, such as <code>{{anch("min")}}</code> and <code>{{anch("max")}}</code>).</p> + +<div class="note notecard"> +<p><strong>참고:</strong> When the data entered by the user doesn't adhere to the stepping configuration, the {{Glossary("user agent")}} may round to the nearest valid value, preferring numbers in the positive direction when there are two equally close options.</p> +</div> <p><code>date</code> 입력 칸의 <code>step</code> 값은 날짜 단위, 즉 밀리초 단위로 86,400,000 ✕ <code>step</code>로 처리합니다. 기본값은 1로, 하루를 나타냅니다.</p> -<div class="blockIndicator note"> +<div class="note notecard"> <p><strong>참고:</strong> <code>date</code> 입력 칸에서 <code>step</code>의 값으로 <code>any</code>를 지정하면 <code>1</code>과 같습니다.</p> </div> diff --git a/files/ko/web/html/element/input/index.html b/files/ko/web/html/element/input/index.html index 8ff435e12d..aae4e879d9 100644 --- a/files/ko/web/html/element/input/index.html +++ b/files/ko/web/html/element/input/index.html @@ -756,60 +756,6 @@ let hatSize = form.elements["hat-size"]; </dd> </dl> -<h3 id="Non-standard_attributes">Non-standard attributes</h3> - -<p>The following non-standard attributes are also available on some browsers. As a general rule, you should avoid using them unless it can't be helped.</p> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Attribute</th> - <th scope="col">Description</th> - </tr> - </thead> - <tbody> - <tr> - <td><code>{{anch("autocorrect")}}</code></td> - <td>A string indicating whether or not autocorrect is <code>on</code> or <code>off</code>. <strong>Safari only.</strong></td> - </tr> - <tr> - <td><code>{{anch("incremental")}}</code></td> - <td>Whether or not to send repeated {{event("search")}} events to allow updating live search results while the user is still editing the value of the field. <strong>WebKit and Blink only (Safari, Chrome, Opera, etc.).</strong></td> - </tr> - <tr> - <td><code>{{anch("mozactionhint")}}</code></td> - <td>A string indicating the type of action that will be taken when the user presses the <kbd>Enter</kbd> or <kbd>Return</kbd> key while editing the field; this is used to determine an appropriate label for that key on a virtual keyboard. <strong>Firefox for Android only.</strong></td> - </tr> - <tr> - <td><code>{{anch("orient")}}</code></td> - <td>Sets the orientation of the range slider. <strong>Firefox only.</strong></td> - </tr> - <tr> - <td><code>{{anch("results")}}</code></td> - <td>The maximum number of items that should be displayed in the drop-down list of previous search queries. <strong>Safari only.</strong></td> - </tr> - <tr> - <td><code>{{anch("webkitdirectory")}}</code></td> - <td>A Boolean indicating whether or not to only allow the user to choose a directory (or directories, if <code>{{anch("multiple")}}</code> is also present)</td> - </tr> - </tbody> -</table> - -<dl> - <dt>{{htmlattrdef("autocorrect")}} {{non-standard_inline}}</dt> - <dd>{{page("/en-US/docs/Web/HTML/Element/input/text", "autocorrect-include")}}</dd> - <dt>{{htmlattrdef("incremental")}} {{non-standard_inline}}</dt> - <dd>{{page("/en-US/docs/Web/HTML/Element/input/search", "incremental-include")}}</dd> - <dt>{{htmlattrdef("mozactionhint")}} {{non-standard_inline}}</dt> - <dd>{{page("/en-US/docs/Web/HTML/Element/input/text", "mozactionhint-include")}}</dd> - <dt>{{htmlattrdef("orient")}} {{non-standard_inline}}</dt> - <dd>{{page("/en-US/docs/Web/HTML/Element/input/range", "orient-include")}}</dd> - <dt>{{htmlattrdef("results")}} {{non-standard_inline}}</dt> - <dd>{{page("/en-US/docs/Web/HTML/Element/input/search", "results-include")}}</dd> - <dt>{{htmlattrdef("webkitdirectory")}} {{non-standard_inline}}</dt> - <dd>{{page("/en-US/docs/Web/HTML/Element/input/file", "webkitdirectory-include")}}</dd> -</dl> - <h2 id="예제">예제</h2> <h3 id="A_simple_input_box">A simple input box</h3> |