������ style ��������� �������� ����� ������ �������� Web-��������, ������ �������� ������� �������� ����������� ��������.
paragraph1.style.fontSize = 7;
����� �������� �������������� ������� ��������:
image1.style.height = "100mm";
image1.style.width = "120mm";
� ��� �����������������:
iamge1.style.top = "200px";
image1.style.left = "50px";
��������, ��� �� ����������� �������� ��������� �������� �������������� ���������� � ��������� ������� ���������. ��� �� ����� ������ ��� ����������, ������� ������ style ������������� �������� pixel***, ����������� � ������������ �������� �������� � ��������:
image1.style.pixelHeight = 400;
iamge1.style.pixelLeft +=5;
����� ����� ������������ �������� pos***, ������������ � ����������� �������� �������� � ��� �������� ���������, � ������� ��� �������� ���� ������ � ����������� �����.
<IMG src="image1.gif" id="image1" style="height: 100mm; width: 100">
nheight = image1.style.posHeight; // �������� � �����������
nwidth = image1.style.posWidth; // �������� � ��������
�� ������ ������������ ������
getAttribute, setAttribute �
removeAttribute ��� ��������� � ��������� �������� � �������� ������-���� �������� �����:
paragraph1.style.setAttribute("borderBottomWidth", 5, false);
paragraph1.style.removeAttribute("borderTopWidth", false);