������ �������� ��������� �������� ������ � �����, ����������� � ��� �������� � ������� �������� STYLE:
<P id="par1" style="color: green">����� �����</P> someColor = par1.style.color;��������������� ��������� �������� � ���������� someColor �������� �������� color ����������� ����� ��������, �.�. "green".
someFontSize = par1.style.fontSize;��� ��������� ������ null, ���� ���� ���-�� � ������� ������ ������� font-size ��� ����� �������� ���������. � ��� ������, ��� �������� �������� style �� ������� �� ����� ����������� ������.
����� �������� ����� �������� � ������ � ���������� ������, � ������ ������, � ��������� ����, ����������� �������� currentStyle:
<FONT id="par1" style="color: green" size="7">����� �����</FONT> someColor = par1.currentStyle.color; someBColor = par1.currentStyle.backgroundColor; someFontSize = par1.currentStyle.fontSize; someOther = par1.currentStyle.textDecoration;�����������, ��� ���-�� � ������� ������ ��������� ��� ����� �������� ������� background-color, ������ "teal", � text-decoration �� ��������� ������. ��� ��������� ������ ��������� ��������: ������ - "green", ������ - "teal", ������ - "largest" (��� "7"), � ��������� - "none"? �.�. �������� �� ��������� ��� ����� �������� �����.
���� �� �������� �����-���� �������� ������� style, ���������� �� �� �������� � � ������� currentStyle, � ��������. ������������ ������: ���� �� �������� �����-���� �������� currentStyle � ����� ����� �� ���������� � ����, �������� ������ ��������. �� ����, ����� ����������� �������� � ��� ����������� � �������� ������ ������ ��������� �����.
�������� runtimeStyle �������� ��������. ��� ���������� ������ �� ������ runtimeStyle, ������� �������� �������� ��� �� �����, ��� � currentStyle, �� ���������� ��� ��������� ����� �������� �� ����������� ����������� ������� style. �� ����, �� ������ �������������� �������� ����� runtimeStyle, � ��������������� �������� style (�� �� currentStyle) �� ���������.
������ styleSheet � ��������� styleSheets:
������ document � IE ����� ���������� ��������� styleSheets, ������� ����� ������������ ��� ������� � ��������� �������� ������ ���������. � ��������� ������� ������ �������������� �������� styleSheet:
address = document.styleSheets(1).href;��� ��� ����� ������� ��� �������� ������� ������� ������. ������ �� ��� - ��� href, �������������� ��������-������ ����� ������� ������� ������. �� ������ �������� ���� �����, ����� ��������� ������ ������� ������. ������ - disabled, ����������� ��� ����������� Web-������������ ��������� ��� ������� ��� �������������� ���������. ��������, ��� � ������ ������ false ��������� ���������� �������, � true ���������. � ��������� �������� - type - ����� ��� ��� ������ ������������� �������: ��� ������ ��� ������� ������, ������� ��� IE ������ ����� "text/css".