����-����
������ ������� ������������� �������� ����, �� ������������� � ����-����� � ����� ���������. �� ��� ���� ����� �� ������� �������������� �� ��������: ����-���� – ��� ����� ���� ��� ���� �������� � ��������� ������������ ���-�����, � ����������� ������������ ������� �������� ����� ������� ������� ��������, ��� ��������� ���������� ����-����. ����� ����� �������, ������� ����-����� �������� ������� �����, ��� ������� � ���, ��� �������� ����� ��������� � ����� �����������. ����, ���������:
�������� ���� HTML �������� � ����� ��������� � ���������� �� ������ ��������. � ���� �����, ����������� ����� ������� ������ HEAD, ��������� ��������� ����� ��������. ������ � ��� � ������������� ����-����. � ����������� ������� HTML �������� �� ������������ ����������� ���� ����������� ����-�����, ������� �� ����������� ��� ��������������� ������ ������ HTML �������� ������� � �������� ���� ��� ����� ����:
<html><head><title>��� Title (��������� ��������)</title>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv="Content-Language" content="en">
<META http-equiv="Resource-Type" content="document">
<META http-equiv="Distribution" content="global">
<META name="distribution" content="global">
<META name="language" content="en">
<META name="robots" content="index,follow">
<META name="description" content="���� ��������">
<META name="keywords" content="���� �������� �����">
<META name="GENERATOR" content="MSHTML 5.00.2614.3401">
... ����� ����� ��������� CSS � Java ������� (�������, ���� ��� � ��� ����) ...
</head>
<body + ���� ��������� ��� �������� – ���� ������, ���� ����, ���� � �.�.>
........����� ���� ���������� ����� ��������....
����������, ����� ���������� ����� ����� ����� ���������������� �������� Title, Description � Keywords, � ����� ����� ������� ��������� ����� ��������, ������� ���� ����� (������ �� ���� ). �������� ������� �������� ����� ����-�����, ����������� �� ���� ��������:
- "<!DOCTYPE HTML PUBLIC..." – ��� �������������� ���, ������� ����������� ������� � ������ HTML, ������������ �� ��������. ����� ������� ������ ������ ������������ – 4.0, ��� ������� �� ����� ��������. "EN" ��������� �� ���� �������� – ����������. ����� �����, ����������� �� ���� ���������, �� �������� ��� ���������. ���� �� ������ ������ ���� �� ������� �����, ��� ����� ����� �������� "EN" �� "//RU".
- "<title></title>" – ����� ����� ������ �� ������ ������� ��������� �������� (Title). ���� ��������� ����� ������������ � ��������� ���� web-��������.
- "http-equiv=Content-Type content="text/html" – ��������� �� ��, ��� ���������� �������� – ��� HTML ��������.
- "charset=iso-8859-1" – ��������� ������������ � ��������� ������� ������� (���������). ���� �� �������� ���� �� ������� �����, �� �� ������ �������� "iso-8859-1" �� �� ���������, ������� �� ������ ������������ ("windows-1251" ��� "koi8-r").
- "http-equiv=Content-Language content="en" – ��� ���� �������� �� ���� ��������. ��������������, ��� �������� ����� ����� ����� �������� ��� �������� �������������� �����.
- "http-equiv=Resource-Type content="document" – ��������� �� ��� ���-�������� – ��������. �� ����� ����, ������ ����� ���� ������ �� ����������, ������� ������ ��� ����� ������� �������������.
- "http-equiv="Distribution" – ��������� �� ���� ��������������� ���������. "Global" ��������, ��� �������� ������������ ��� ����������� ���������������.
- "name="distribution" – ��������� "http-equiv=Distribution".
- "name="language" – ��������� "http-equiv=Content-Language".
- "name="robots" content="index,follow" – ��������� ��������� ������� ���������������� (�������� � ��������� ����) ���� �������� � ������� �� ������� � ���.
- "name="description" � name="keywords" – ��������������, �������� � �������� ����� ����� �������� – ����, ����������� ��� ��������� ������. ����������� ��� ���� �� ��������� ��� ����, ���� �� �� ������, ��� ��� ��������� ������. �������� ���� ������ �� ������ � ���������� ���������, � ������ ��� ��� ����������.
- "name="GENERATOR" – ��������� ���, ����������� ������������ HTML-����������. �������� ��� �������� ��� �� �����.
- <body> – ������ ����� ���� ��������� �������� ���������� ����� �������� – ���� ������, ����, ���� �������� ��������, ������ Java �������� � �.�. ���� �� �� ������ ��������� ����� ����, ����� ������ ������������� ���� ��� ��� BODY, ������� ��� ��� ������ ����� HTML-����������.