-

 -

 -

-
: 216 : 0
- "".
: 485 : 0
.-. -
: 1631 : 0
-
: 44201 : 0

 - e-mail

 

 -

   CommandButton

 -

( : 4) _ __׸ _

 -

 LiveInternet.ru:
: 05.05.2008
:
:
: 214

:

HTML.


: (2), (1), (11), (28), (2), (7), (3), (3), PHP(6), JavaScript(10)
(1)

HTML

, 18 2009 . 10:57 +
 (CommandButton)

 

    HTML

    HTML

<html></html>

HTML .

<head></head>

, . .

<body></body>

<title></title>

 

<body bgcolor=?>

, RRGGBB - : FF0000 - .

<body text=?>

, RRGGBB - : 000000 - .

<body link=?>

, RRGGBB - : 00FF00 - .

<body vlink=?>

, RRGGBB - : 333333 - .

<body alink=?>

.

 

<pre></pre>

.

<h1></h1>

<h6></h6>

<b></b>

<i></i>

<tt></tt>

- .

<cite></cite>

, .

<em></em>

( )

<strong></strong>

( )

<font size=?></font>

1 7.

<font color=?></font>

, RRGGBB.

 

<a href="URL"></a>

.

<a href="mailto:EMAIL">
</a>

.

<a name="NAME"></a>

.

<a href="#NAME"></a>

.

 

<p>

<p align=?>

, : left, right, center

<br>

.

<blockquote>
</blockquote>

.

<dl></dl>

.

<dt>

<dd>

<ol></ol>

<li>

<ul></ul>

<li>

 

.

<div align=?>

HTML ,

 

<img src="name">

HTML

<img src="name" align=?>

, : left, right, center; bottom, top, middle

<img src="name" border=?>

<hr>

HTML .

<hr size=?>

()

<hr width=?>

, .

<hr noshade>

.

<hr color=?>

. RRGGBB.

 

<table></table>

.

<tr></tr>

.

<td></td>

.

<th></th>

( )

<table border=#>

.

<table cellspacing=#>

.

<table cellpadding=#>

.

<table width=#>

.

<tr align=?> <td align=?>

, : left, center, right.

<tr valign=?> <td valign=?>

, : top, middle, bottom.

<td colspan=#>

- . ( =1)

<td rowspan=#>

- . ( =1)

<td nowrap>

.

 

<frameset></frameset>

<body> , ;

<frameset rows="value,value">

, - .

<frameset cols="value,value">

, - .

<frame>

.

<noframes></noframes>

, .

 

<frame src="URL">

HTML .

<frame name="name">

, .

<frame marginwidth=#>

; 1.

<frame marginheight=#>

; 1.

<frame scrolling=VALUE>

- ; value "yes," "no," "auto". - auto.

<frame noresize>

.

 

, - CGI . HTML .

<form></form>

<select multiple name="NAME" size=?></select>

. Size - , , .

<option>

<select name="NAME"></select>

 

<option>

<textarea name="NAME" cols=40 rows=8></textarea>

. Columns ; rows .

<input type="checkbox" name="NAME">

checkbox. .

<input type="radio" name="NAME" value="x">

radio . .

<input type=text name="foo" size=20>

. Size .

<input type="submit" value="NAME">

 

 

HTML
PHP

(0)

HTML

, 30 2009 . 02:05 +




HTML

(0)

HTML

, 30 2009 . 01:52 +
 (CommandButton)

FORM HTML . , FORM .

FORM :

<FORM ACTION="url" METHOD="POST">...</FORM>

:

ACTION

URL , . , URL .

METHOD

HTTP/1.0 . , . POST. :

§        GET - , URL, .

§        POST URL, .

ENCTYPE

. POST ( )- application/x-www-form-urlencoded.

FORM , , FORM. , FORM INPUT, SELECT, TEXTAREA.



HTML

(0)

(HTTP-EQUIV, NAME, REL, REV, BASE) HTML

, 30 2009 . 01:41 +
 (CommandButton)

- HTML. (HTTP-EQUIV, NAME, REL, REV, BASE) HTML .

META-

- <META HTTP-EQUIV="" CONTENT="">
- <META NAME="" CONTENT="">

META- HTML- <HEAD> </HEAD> ( , ).

  HTTP-EQUIV

 

META- HTTP-EQUIV HTTP-. , . , HTTP-, HTTP-. HTTP- RFC1945 (HTTP/1.0) RFC2068 (HTTP/1.1).

HTTP- CGI-. Apache CERN. . META- ( Date), - (<>200). , HTTP- META-.

Expires

...


HTML

(0)

HTML

, 30 2009 . 01:39 +
 (CommandButton)

1. HTML-,

HTML , web-. , , <p></p> , - .

HTML 5:     - HTML, CSS, JavaScript - Web- - , ,

web- HTML 4 web-. - . web-, ( ) web-. , HTML, JavaScript, Flash - (rich Internet applications), , , .

HTML-, HTML 5 .

, , HTML, web-:

HTML 5:     - HTML, CSS, JavaScript - Web- - , ,

, - <div>-. <div>- , , content, sidebar footer .

HTML 5 -

...



HTML

(0)

HTML

, 30 2009 . 01:13 +
 (CommandButton)

HTML 5 - , . HTML 1999 , HTML 4.01 web- , HTML .

HTML 5 , HTML web-. HTML 5 . 5 HTML 5.

Jacob Gube, web- , Six Revisions - web- .

HTML 5 2003 . World Wide Web Consortium (W3C), , web, HTML 5 Web Hypertext Application Technology Working Group (WHATWG), 2004 Apple, Mozilla Foundation Opera Software. , 2007 , HTML 5, W3C HTML Working Group.

, HTML 5 W3C Candidate Recommendation 2012 , HTML 5.


HTML

(0)

HTML

, 30 2009 . 01:05 +
 (CommandButton)

<html></html> - HTML .

<head></head> - , . .

<body></body> -

<title></title>

-  

<body bgcolor=?> - , RRGGBB - : FF0000 - .

<body text=?> - , RRGGBB - : 000000 - .

<body link=?> - , RRGGBB - : 00FF00 - .

<body vlink=?> - , RRGGBB - : 333333 - .

<body alink=?> - . 

<pre></pre> - .

<h1></h1> -

...

HTML

(0)

HTML?

, 30 2009 . 00:57 +
 (CommandButton) HTML ( . HyperText Markup Language ) . - HTML ( XHTML). HTML , .
HTML SGML ( ) ISO 8879.
HTML - 19911992 (). HTML , , . HTML SGML ( ), , . , HTML . . HTML (). , HTML ( , , ). HTML . , , , , , , , . , HTML .


HTML

(0)

JavaScript

, 17 2009 . 21:30 +
 (CommandButton)
, , , ; . . , , . . . , , , . JavaScript . . , , . , .




1 ( )

function()
2 !
~
-
++ ()
--
new
typeof
void
delete
3 *
/
% ( )
4 + ()
-
5 <<
>>
>>>
6 <
<= ( )
>
>= ( )
7 ==
!=
8 &
9 ^
10 | ()
11 && ()
12 ||
13 ? ( )
14 =
+=
-=
*=
/=
%=
<<=
>=
>>=
&=
^=
|=
15 , ( )

, , , , . , , , . , x&&y ; x false, y , , false. , x || y x true, y , , true.

HTML
JavaScript

(0)

JavaSCript

, 17 2009 . 21:29 +
 (CommandButton) , JavaScript ..
10.1.
() . , 32. . , . . .




&
|
^
~
<< ,

>> ,

>>> ,



&, |, ^ ~ , , . ~ : 0 1, 1 0. , &, |, ^.

&, |, ^

X Y X&Y X | Y X^Y
1 1 1 1 0
1 0 0 1 1
0 1 0 1 1
0 0 0 0 0

, 2&3 2, 2|3 3. , 2 10, 3 11. & 10, 2, | 11, 3.
, , . , 3<<2 12, 11 ( 3) 1100, 12. 6>>2 1. , 6 110; 1 , .
10.2.
(delete)

, delete. :
delete


, , . delete . JavaScript, , .

(in)

, . , . . , true, false. , in ( if, switch, for, while, do-while).

:
, document, HTML-, write(). , : "write" in document // true

.

function (, , , ) {
this. =
this. =
this. =
this. =
}
agent007 = new (" ", 5, "223-332")
"" in agent007 // true
" " in agent007 // false

in IE5.5+, NN6+.

(instanceof)
, JavaScript. , , Array, String, Date . . instanceof true false , ( if, switch, for, while, do while).

:
Array, Object.

myarray = new Array()
myarray instanceof Array // true
Array instance Object // true
Myarray instanceof String // false

in IE5.5+, NN6+.
10.3.
(?:)

if else : . , . :
? 1 : 2
:
= ? 1 : 2
1, , 2.

:

d = new Date()
x = d.getDate()
typedate = (x%2 == 0)&&(x > 1) ? "" : ""

(tipeof)

, : string, number, boolean, object, function undefined. , typeof, . . typeof.

HTML

(0)

JavaScript

, 17 2009 . 21:28 +
 (CommandButton) , JavaScript . new , . , prototype , . , Web-, . . ? . , . - , , . ( Array): .
9.1.
JavaScript . .

, . , - . , , ? , , . , . - . - . - this (): this.. -, car () name (), model () color ():

function car(name, model, color) {
this.name = name
this.model = model
this.color = color
}

car. car, , . , new:
mycar = new car("", "21099","green")

, mycar, car. . mycar :

mycar.model // "21099"
mycar.name // ""
mycar.model = "2110" // "2110"

, ( : .).

new Object():

mycar = new Object()
mycar.name = ""
mycar.model = "21099"
mycar.color = "green"

, Object , , Array.
:
mycar = {name:"", model:"21099", color:"green"}
. - , .

, , , ( null, 0 ""). ( ||) :

function car(name, model, color) { // car
this.name = name || ""
this.model = model || ""
this.color = color || "black"
}
mycar = new car("","") // mycar car
mycar.name // ""
mycar.model // ""
mycar.color // "black"

9.2.
, , prototype. car (), mycar, prototype owner () :

function car(name, model, color) { // car
this.name = name || ""
this.model = model || ""
this.color = color || "black"
}

mycar = new car("","") /* mycar car */
mycar.name // ""
mycar.model // ""
mycar.color // "black"
car.prototype.owner = "" //
mycar.owner // ""

( ), :
._ =

car , .

function car(){}
mycar1 = new car()
mycar2 = new car()
mycar1.name = ""
mycar2.model = "2106"

mycar1.name // ""
mycar1.model // undefined ( )
mycar2.name // undefined ( )
mycar2.model // "2106"

9.3.
. : , , . , photo, URL- . car, , , photo.

car photo. photo car, car , photo.

function car(name, model, color, photo) { /* car */
this.name = name
this.model = model
this.color = color
this.photo = photo // photo
}

function photo (name, url) { // photo
this.name = name
this.url = url
}
C , photo:
photo1=new photo("","/images/lada1.jpg")
photo2 =new photo(" ","/images/lada2.gif")
car:

mycar = new car("", "21099","white", photo1)
mycar.photo.url // "/images/lada1.jpg"
mycar.model // "21099"

mycar = new car("", "21099","white", photo2)
mycar.photo.url // "/images/lada2.gif"
mycar.model // "21099"

, URL- , mycar, url photo, mycar , , mycar.

HTML

(0)

Java Script Object

, 17 2009 . 21:27 +
 (CommandButton) Object , JavaScript, String, Array, Date . . . :

function _([1,[, N]){

}
= new _(["1",[, "N"])
= new Object()
. =
= {1: 1 [, 2: 2 [,,N]}

:
__.
__.([])

, , , , , , , . . , . :

function (, , , ) {
this. =
this. =
this. =
this. =
}

, . this , . this, -, . , , , . , agent007:
agent007 = new (" ", 5, "223-332", 3600.50)

:
agent007. // " "
agent007. // 3600.5

:
Shtirlitz = new ("", 4, "123-4567",4500.50)

HTML

(0)

JavaScript Boolean ()

, 17 2009 . 21:25 +
 (CommandButton) Boolean :
= new Boolean(_)
prototype toString() ue Of(), String Number. prototype String Array. Boolean , , new Boolean ( prototype).
8.7. Function ()
Function :

function _() {

}

, new Function. Function:
_ = new Function(["1", [,"N"], "1; [; N]")

. . , . , Function, : _().

, new, Function, .

Function

arguments , .
0. , Array ( , length ).
arguments , , . , , , ("", 0, null) . . .
: _.arguments.

length , .
: _.length
arguments, .
:

function myfunc(a, b, c, d){
return myfunc.arguments.length
}
myfunc(a,b) // 2
myfunc.length // 4

caller , ; , null.
: IE4+, NN4
: _.caller
_.caller , _.

Function

toString() .
: _.toString()

apply( [_ [, _]])

call( [_ [,1[,2[,, N]]]])

. . , , . , .
, . , .
call() , . , call() apply().

HTML

(0)

JavaScript

, 17 2009 . 21:25 +
 (CommandButton) 8.5. Date ()
, , . . . , , , . , . , ( ), . , - 5 . , 19 . , . , . c (Greenwich Mean Time GMT). GMT UTC (Coordinated Universal Time ).

, GMT. , . . GMT. , , ( ). , , GMT, , , . JavaScript 30.10.2002, , . Date. , 31 30 , 366 .



:
= new Date([])
, . , , - (, ). Date. :
= .()
, , , :
= .(_)

:

xdate = new Date() /* , */
Year = xdate.getYear() /* Year */
Year = Year + 3 /* Year ,
, 3 */
xdate.setYear(Year) /*
*/

new Date(), , . :

new Date(" , ::")
new Date(" , ")
new Date(, , , , , )
new Date(, , )
new Date()

, . . . . , 0 (). . ( ). . 10, , 0 (, 3:05:32). , . , , 1 1970 ( 00:00:00). , , , .

Date

, , Date (. ). , :
= new Date([])
, () , : .([]). : ( get) ( set). UTC. (, , , , , , ).

Date


getFullYear( ) 1970...
getYear( ) 70...
getMonth( ) 011 ( = 0)
getDate( ) 131
getDay( ) 06 ( = 0)
getHours( ) 023 24-
getMinutes( ) 059
getSeconds( ) 059
getTime( ) 0 1.1.70 00:00:00 GMT
getMilliseconds( ) 0 1.1.70 00:00:00 GMT
getUTCFullYear( ) 1970-... UTC
getUTCMonth( ) 011 UTC ( = 0)
getUTCDate( ) 131 UTC
getUTCDay( ) 06 UTC ( = 0)
getUTCHours( ) 023 UTC 24-
getUTCMinutes( ) 059 UTC
getUTCSeconds() 059 UTC
getUTCMilliseconds( ) 0.... UTC 1.1.70 00:00:00 GMT
setYear() 1970... ()
SetFullYear() 1970
setMonth() 011 ( = 0)
setDate() 131
setDay() 06 ( = 0)
setHours() 023 24-
setMinutes() 059
setSeconds() 059
setMilliseconds() 0 1.1.70 00:00:00 GMT
setTime() 0 1.1.70 00:00:00 GMT
setUTCFullYear() 1970 UTC
setUTCMonth() 011 UTC ( = 0)
setUTCDate() 131 UTC
setUTCDay() 06 UTC ( = 0 )
setUTCHours() 023 UTC 24-
setUTCMinutes() 059 UTC
setUTCSeconds() 059 UTC
setUTCMilliseconds()0 UTC 1.1.70 00:00:00 GMT
getTimezoneOffset ( ) 0 GMT/UTC
toDateString( ) ( ) (IE5.5)
toGMTString( )
toLocaleDateString( ) (NN6, IE5.5)
toLocaleString( )
toLocaleTimeString( ) (NN6, IE5.5)
toString( )
toTimeString( ) (IE5.5)
toUTCString()
Date.parse("dateString")
Date.UTC() GMT

, , , UTC. , , . UTC , . , , , , 0. . 11- , 12-, . (Sunday) 0- , 7-. XX 1900. , 1996 96. 1900 1999 . , 2005 2005, 05 1905 . getFullYear() .

, set. .

, . . . toString(). . , Windows 98 Internet Explorer 5.5+ , , : Thu Oct 31 13:16:23 UTC+0300 2002, , , 31, 13 16 23 , 3 , 2002
, toLocaleString():

mydate = new Date()
mydate.toLocaleString() // "1 2004 . 14:13:36"

IE5.5+ NN6+ :

mydate = new Date()
mydate.toLocaleDateString() // "1 2004 ."
mydate.toLocaleTimeString() // "14:13:36"

, , toLocalDateString() toLocalTimeString(), . Web-, , . , , , . , , , . .

:
, :

week = 1000*60*60*24*7 /* 604800000 */
mydate = new Date() //
mydate_ms = mydate.getTime() /* , 1.01.1970 00:00:00 */
mydate_ms += week // maydate_ms = mydate_ms + week
mydate.setTime(mydate_ms) /* mydate */
newdate = mydate.toLocaleString() /* */

, , 10 2004 5 2004. :
date1 = new Date(2004,01,10)
date2 = new Date(2004,02,5)

date1 date2 , (, Mon Feb 10 00:00:00 UTC+0300 2003). , parse() Date. Date.parse(date2) Date.parse(date1) :
days = (Date.parse(date2) - Date.parse(date1))/1000/60/60/24 // : 24

HTML

(0)

Math ()

, 17 2009 . 21:24 +
 (CommandButton) Math ()
Math (, π) . Math :
Math.
Math.()

Math

Math .


LN10 10
LN2 2
LOG10E ( e)
LOG2E
PI p
SQRT1_2 1/2
SORT 2

Math

abs() ( ) acos() asin() atan() atan2(x, ) il() s() xp() floor() log() max(1,2) 1, 2 min(1,2) 1, 2 pow(1,2) 1 2 random() 0 1 round() sin() sqrt() tan()

HTML

(0)

Number ()

, 17 2009 . 21:23 +
 (CommandButton) 8.3. Number ()
Web- , . ( top, left, width, height ). . , , . , . , . .

JavaScript

JavaScript : . . , . , , . , . , , . , , . . . JavaScript . . , . , . , , , . :

2 + 3 // 7
2 + 3.6 // 5.6
2.4 + 3.6 // 6
6.00 //

, :
1e2 1E2. 1102 . :

1e5 // 100 000
2e6 // 2 000 000
1.5e3 // 1500
+1.5e3 // 1500
-1.5e3 // -1500
3e-4 // 0.0003

JavaScript , : 10 (), 16() 8 (). , , 0, 8- . 16- 0x ( 0X), , , : 0, 1, 2,,9,a,b,c,d,e,f ( ). , 0x4af 1199). 8- , 0 7. , 027 ( 23).
, .

Number

, Number. , .
Number :
= new Number()
:
.
Number.

.([])
Number.([])

Number


MAX_VALUE , JavaScript (1.7976931348623157e+308).
MIN_VALUE , JavaScript (5e-324).
NEGATIVE_INFINITY , , Number.MIN_VALUE
POSITIVE_INFINITY , , Number.MAX_VALUE
NaN , NaN, JavaScript , (, ) (Not a Number).
prototype (), , String (. ).

Number

Number , , .

toExponential() .
: . toExponential()
. : IE5.5+, NN6+.
, , .

toFixed() .
: . toFixed()
. : IE5.5+, NN6+.
, , .

toPrecision() .
: . toPrecision ()
. : IE5.5+, NN6+.
, , , , .

toString([]) .
: . toString([])
. , .
2 , 16 . , .

HTML

(0)

JavaScript Array () Array

, 17 2009 . 21:22 +
 (CommandButton) Array

Array , .

oncat() , .
: _1.concat(2)
. .

join() ; (, )
: _.join()
.

pop() .
: _.pop()
. : IE5.5+
.

push(|) .
: _1.push(|)
.
: IE5.5+
.

shift() .
: _.shift()
. : IE5.5+, NN4+.
.

unshift(|) .
: _.unshift(|)
: .
: IE5.5+
.

reverse() .
: _.reverse()
.
.

slise(1 [, 2]) .
: _. slise(1 [, 2])
. .
( ) , . , , 1 . , 1 2, . .

sort([_]) () .
: _. sort([_])
. .
, .
, ASCII- . , . , 357 , 85, , . . , sort() . , sort() . ( ) . , , , . , , x y. (, 0 ), , sort :


, x y
<0 y x
0 x y
>0 x y

, , . null, Internet Explorer .

splice(, [, 1 [, 2 [, N]]]) , .
: _ splice(, [, 1 [, 2 [, N]]])
. : IE5.5+. .
, . , .
splice() , , , . , . splice() (), () . , , , . splice() , , . , 0.

toLocaleString(), toString() .
toLocaleString() IE5.5+ NN3+, toString() . toLocaleString() .
join().

HTML

(0)

JavaScript Array ()

, 17 2009 . 21:21 +
 (CommandButton) 8.2. Array ()
. , . , . ( ). ( ) . (). , 0, , .
, . , , , , .



. new:
_ = new Array([_])
_ , . , , . , null ( ). , . , new Array () Array. Array length, . , _.length. , , . , . , : _[]. .

earth, . , ( ).

earth = new Array(4) // 4-
earth[0] = ""
earth[1] = "24 "
earth[2] = 6378
earth[3] = 365.25

earth.length // 4

, , , earth[2].

Array. ,
earth = new Array("", "24 ", 6378, 365.25)

JavaScript , , , .

, . ,

earth = new Array() //
earth.xtype = ""
earth.xday = "24 "
earth.radius = 6378
earth.period = 365.25

, , earth.radius. : earth["radius"]. .



, , . . , , . , . :
_[_1] [_2]

, : , .

. , . . , . . , . , " 2.1" 1- , 2- .

menu = new Array()
menu[0] = new array(" 1.1", " 1.2", ", " 1.3")
menu[1] = new array(" 2.1", " 2.2")
menu[2] = new array(" 3.1", " 3.2" , " 3.3", " 3.4")

2- 3- , :
menu[2][1] // " 3.2"

, , .

menu = new Array()
/* : */
menu[0] = new Array("1", "2", "3")
menu[1] = new Array()
menu[1][0] = new Array(" 1.1", " 1.2", " 1.3")
menu[1][1] = new Array(" 2.1", " 2.2")
menu[1][2] = new Array(" 3.1", " 3.2" , "3.3", " 3.4")

menu[0][1] // " 2"
menu[0][2] // " 3"
menu[1][1][0] // " 2.1"
menu[1][2][3] // " 3.2"



, . , , , . . , , .

:

a = new Array(5, 2, 4, 3)
x = a // a
a[2] = 25 // 2
x[2] // 25, a[2]

a x .
, , , , , :

a = new Array(5, 2, 4, 3)
x = new Array() // a
for(i=0; i< a.length; i++) // a x
{x[i] = a [i]}

Array

length , , ; .
: _.length
, . : myarray[mayarray.length] = .

prototype (), . , author :
Array.prototype.author = ""
Array.prototype , author :
myarray = new Array() // myarray
xarray = new Array() // xarray
Array.prototype.author = "" /* */
myarray.author = " " /* author myarray */
xarray.author = "" /* author xarray */
. Array.

HTML

(0)

JavaScript 8

, 17 2009 . 21:18 +
 (CommandButton) 8.
, . , . JavaScript . . : . . . . , . . , . , , : _.. , . . . : _.(). , . , , , , . , .
, , - -. , -, . . , , . , , . () , . , . . , , . , Math, Array, , Array. , , prototype (), . , , .
8.1. String ()
String . , , , , , , . .
String . . () , .


:

_ = new String("_")

_ . , mystring = new String("!") mystring "!" :

_ = "_"



var _ = "_"

:

.
String.

.([])
String.([])

, . , , , , . String , , , , , , ( String)

:

length , ( ).

mystring = " "
mystring.length // 30
" ".length // 30

function fstring(){return "abcde"} //, "abcde"
fstring().length // 5

.

String

length , , ( ) ; .
:

"".length // 4
"\n".length /* 11 (\n ) */
x = "" //
x.length // 0 ( 0)

prototype (), , . :

. .

function myFunc() { //
return ""
}
// myName :
String.prototype.myName() = myFunc
mystring = " " + " ".myName()
// mystring " "

String

charAt() , .
: .charAt()
.
() , 0.

charCodeAt([]) ( ).
: . charCodeAt([])
.
IE4+ NN6 Unicode , NN4 ISO-Latin1.

fromharCode(1 [, 2 [, N]]) , .
: String.fromharCode(1 [, 2 [, N]])
.
IE4+ NN6 Unicode , NN4 ISO-Latin1.

oncat() () .
: 1.concat(2)
.
, + : 1 2.

indexOf(_ [, ]) , , .
: .indexOf(_ [,])
.
_ . ( ) 0. , 1. 1. 0. , , , . substr() (. ), . .

lastIndexOf( _ [, ]) , , ; , , 0.
: .lastIndexOf(_ [,])
.
indexOf() .

localeCompare() Unicode, .
: 1. localeCompare (2)
.
: IE5.5+, NN6+
, 0. 1 , 2, , . . . , IE5.5 IE6.0 1 1, NN6 Unicode.

slice( 1 [, 2]) , , .
: .slice(1 [, 2])
.
.
, 1 . . 0. , , 1 2, . , . slice() substr(). substring().

split( [, ]) , .
: .split( [, ])
.
, . , , , , . , .

substr( [, ]) , .
: .substr( [, ])
.
.
, 1 . . 0. , , 1 c , . slice() substring().

substring(1 , 2) , .
: .substring(1 , 2)
.
.
: . . 0. , , . substr() slice().

toLocaleLowerCase(), toLowerCase() .
: .toLocaleLowerCase(), .toLowerCase()
. IE5.5+, NN6, .
, , . , , ( , ).

toLocaleUpperCase(), toUpperCase() .
: .toLocaleUpperCase(), .toUpperCase()
.
IE5.5+, NN6, .
, , . , , .

String

, Web- HTML. Web- . , Web- " !" , HTML- : < B> !< /B>
JavaScript, : " !".bold()
bold() . , . , write() document HTML-. , HTML. , , ( ). , : .()

. :

anchor("anchor_") link( URL)
blink() big()
bold() small()
fixed() strike()
fontcolor(_) sub()
fontsize( 1 7) sup()
italics()

HTML

(0)

JavaScript 7

, 17 2009 . 21:18 +
 (CommandButton) 7.
, , . , , . , JavaScript , . JavaScript , , . , , , . , , . . , function, , . , : _ () , . . . .
7.1.
JavaScript , . , , , ( ) .

parseInt(, ) ; (8, 10 16), ; , 10, .

parseFloat(, ) () ; (8, 10 16), ; , 10, .

isNaN () true, , false.

eval() ; JavaScript ( HTML).

scape() %XX, XX ASCII- ; escape-.

unescape()

. ASCII-, %. , escape- %20.

typeOf() ; , "boolean", "function" . .
7.2.
, , , . ( ), function. , :

function _()
{

}
:

function _() {

}

function _() { }

, . JavaScript. . () . , . , () . , . , . , . , ( ) () , . , function, . , , . , , return , . : , . return . , , return . .


, , .

JavaScript . , , , , null. , .

HTML


 : [2] 1