.


:




:

































 

 

 

 


undefined. , .




WEB-

10. HTML-. <FORM>. : <METHOD>, <ACTION>, <INPUT> <SELECT>. .

11. . <INPUT>. . . . <SELECT>.

12. , . (VBScript, JavaScript ). , . .

13. . (VBScript, JavaScript ).

14. Microsoft Internet Explorer. , Window.


 

HTML-

, HTML- , .

. , , .

- .

[ ]=[ ]

. , .

<FORM> </FORM> .

HTML- , . . HTML-, , .

<form> , -, .

<FORM>

action - , .

<form action="URL">...</form>

autocomplete - . , , . autocomplete.

<form autocomplete="on | off">...</form>

On - .

Off - . (, ).

method - . method . GET POST. get.

GET. . = ( &). GET , , , , , .

POST. POST . , GET, 4 . , , , .

<form method="get | post">...</form>

name - . , . , . JavaScript , , name.

<form name="">...</form>

novalidate - . . , .

<form novalidate>...</form>

target - , . , -.

, name. , . .

_blank - .

_self - .

_parent - -, , _self.

_top - , , _self.

<form target=" ">...</form>

<INPUT>. .

<input> . <input> , , . <input> <form>, , , , <form> . , , JavaScript.

<input>, type. : (text), (password), (radio), (checkbox), (hidden), (button), (submit), (reset), (file) (image). , .

accesskey - . . , accesskey="s" .

Internet Explorer: Alt + S

Chrome: Alt + S

Opera: Shift + Esc, S

Safari: Alt + S

Firefox: Shift + Alt + S

<input accesskey="c">

align - , .

Bottom - .

Left - .

Middle - .

Right - .

Top -

<input type="image" align="bottom | left | middle | right | top">

alt - .

<input type="image" alt="">

autocomplete - .

<input type="text" autocomplete="on | off">

border - .

<input type="image" border=" ">

checked - .

<input type="radio" checked>

<input type="checkbox" checked>

disabled - .

<input type="..." disabled>

formtarget - , .

_blank - .

_self - .

_parent - -, , _self.

_top - , , _self.

<input type="submit" formtarget="< > | _blank | _self | _parent | _top">

list - , .

<input list="<>">

<option value="1">

<option value="2">

</datalist>

max - .

<input type="number" max=" ">

maxlength - .

<input type="text" maxlength="">

min - .

<input type="number" min=" ">

name - , , .

<input type="..." name="">

pattern - .

<input type="email" pattern="">

Placeholder - .

<input placeholder="">

Readonly - , .

<input type="text" readonly>

Required - .

<input required>

Size - .

<input type="text" size="">

Src - .

<input type="image" src="URL">

Step - .

<input type="number" step="">

Tabindex - Tab.

<input tabindex="">

Type - , .

<input type="button|checkbox|file|hidden|image|password|radio|reset|submit|text">

Value - . value :

(input type="button | reset | submit") ;

(input type="password | text") . , Reset value;

(input type="checkbox | radio") , , , .

(input type="file") .

<input type="..." value="">

<textarea> - , . , .

, , , .

:

<textarea >

</textarea>

<textarea> </textarea> , . , .

:

Cols - .

<textarea cols="">

Disabled - .

<textarea disabled></textarea>

Maxlength - , .

<textarea maxlength="">

</textarea>

Name - , , .

<textarea name="">

</textarea>

Readonly - , .

<textarea readonly></textarea>

Rows - .

<textarea rows=""></textarea>

Wrap - .

Soft - , , , . Enter , .

Hard - , , . cols.

Off - . . , , .

<textarea wrap="soft | hard">

</textarea>

<menu> . <ol> <ul> <menu> <li>.

HTML4 <menu> , <ul>. HTML5 <menu> , . <command> .

<menu>

<li> </li>

<li> </li>

</menu>

label - .

type - .

<SELECT>

<select> , , . size <select>, . , <option>, . <option>, <select>. , <select> . , .

<select>

<option> 1</option>

<option> 2</option>

</select>

autofocus - , .

disabled - .

multiple - .

name - .

required - .

size - .

tabindex - .

<script> , . HTML-. - , .. , .

<script> HTML- . . , , .

<script type="">

...

</script>

<script type="" src="URL"></script>

defer - , .

language - .

src - .

type - <script>.

JavaScript

JavaScript : Boolean (), Number (), String (), Null (), Undefined (), Object (). , , .

Boolean ()

: true () false ().

Number ()

JavaScript : . , 0 ; , e ( ), , . IEEE 754 . , , :

NaN,

Positive Infinity ( )

Negative Infinity ( )

Positive 0 ( 0)

Negative 0 ( 0)

( ), :

0″, 0 7. 0″, 8″ / 9″, . , , e ( E) .

(hex) 0x (X ), 0 9 A F ( , ). e , .

, . , 0″ , ; , 0x 00″, , , , .

.003, 0.003, 3e-3, 3.0e-3 // , .

4.45e3 // , 4450.

103 // .

0377 // , 255.

00.0006 // , 0.

04108 // , 4108 ( 0 8, .

0Xff // , 255.

0x37CF // , 14287.

0x3e7 // , 999.

0x7.45e2 // , 7.

String ()

. . Unicode (. . 16 - ), . , . ; .

var str = 'It\'s a String'; // str

Null ()

null. , .

Undefined ()

undefined. , .





:


: 2016-12-18; !; : 397 |


:

:

- - , .
==> ...

1904 - | 1860 -


© 2015-2024 lektsii.org - -

: 0.082 .