HTML CSS Reference/HTML Attributes Reference/accept — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 11:20, 26 мая 2010
"accept" Example
<source lang="html4strict">
<HTML> <Title>Example For accept</Title> <BODY> <input type="text"
size=50 accept="image/gif,text/html" value="The content type this field accepts is "image/gif,text/html"">
</BODY> </HTML>
</source>
accept is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<input> | +----------------+--------------------------------------------------------------+
</source>
"accept" Syntax and Note
<source lang="html4strict">
Note:
This attribute provides a comma-separated list of the MIME content types.
Syntax:
<input accept="value">
</source>