HTML/CSS/HTML/meta — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Текущая версия на 08:16, 26 мая 2010

Character Set Description

 
ISO-8859-1      Latin alphabet part 1 Covering North America, Western Europe, Latin America, the Caribbean, Canada, Africa
ISO-8859-2      Latin alphabet part 2 Covering Eastern Europe
ISO-8859-3      Latin alphabet part 3 Covering SE Europe, Esperanto, miscellaneous others
ISO-8859-4      Latin alphabet part 4 Covering Scandinavia/Baltics (and others not in ISO-8859-1)
ISO-8859-5      Latin/Cyrillic alphabet part 5
ISO-8859-6      Latin/Arabic alphabet part 6
ISO-8859-7      Latin/Greek alphabet part 7
ISO-8859-8      Latin/Hebrew alphabet part 8
ISO-8859-9      Latin 5 alphabet part 9 (same as ISO-8859-1 except Turkish characters replace Icelandic ones)
ISO-8859-10     Latin 6 Latin 6 Lappish, Nordic, and Eskimo
ISO-8859-15     The same as ISO-8859-1 but with more characters added
ISO-2022-JP     Latin/Japanese alphabet part 1
ISO-2022-JP-2   Latin/Japanese alphabet part 2
ISO-2022-KR     Latin/Korean alphabet part 1



Language Codes

 
Country          ISO Code
Abkhazian        AB
Afan (Oromo)     OM
Afar             AA
Afrikaans        AF
Albanian         SQ
Amharic          AM
Arabic           AR
Armenian         HY
Assamese         AS
Aymara           AY
Azerbaijani      AZ
Bashkir          BA
Basque           EU
Bengali; Bangla  BN
Bhutani          DZ
Bihari           BH
Bislama          BI
Breton           BR
Bulgarian        BG
Burmese          MY
Byelorussian     BE
Cambodian        KM
Catalan          CA
Chinese          ZH
Corsican         CO
Croatian         HR
Czech            CS
Danish           DA
Dutch            NL
English          EN
Esperanto        EO
Estonian         ET
Faroese          FO
Fiji             FJ
Finnish          FI
French           FR
Frisian          FY
Galician         GL
Georgian         KA
German           DE
Greek            EL
Greenlandic      KL
Guarani          GN
Gujarati         GU
Hausa            HA
Hebrew           HE
Hindi            HI
Hungarian        HU
Icelandic        IS
Indonesian       ID
Interlingua      IA
Interlingue      IE
Inuktitut        IU
Inupiak          IK
Irish            GA
Italian          IT
Japanese         JA
Javanese         JV
Kannada          KN
Kashmiri         KS
Kazakh           KK
Kinyarwanda      RW
Kirghiz          KY
Kurundi          RN
Korean           KO
Kurdish          KU
Laothian         LO
Latin            LA
Latvian; Lettish LV
Lingala          LN
Lithuanian       LT
Macedonian       MK
Malagasy         MG
Malay            MS
Malayalam        ML
Maltese          MT
Maori            MI
Marathi          MR
Moldavian        MO
Mongolian        MN
Nauru            NA
Nepali           NE
Norwegian        NO
Occitan          OC
Oriya            OR
Pashto; Pushto   PS
PERSIAN (Farsi)  FA
Polish           PL
Portuguese       PT
Punjabi          PA
Quechua          QU
Rhaeto-Romance   RM
Romanian         RO
Russian          RU
Samoan           SM
Sangho           SG
Sanskrit         SA
Scots Gaelic     GD
Serbian          SR
Serbo-Croatian   SH
Sesotho          ST
Setswana         TN
Shona            SN
Sindhi           SD
Singhalese       SI
Siswati          SS
Slovak           SK
Slovenian        SL
Somali           SO
Spanish          ES
Sudanese         SU
Swahili          SW
Swedish          SV
Tagalog          TL
Tajik            TG
Tamil            TA
Tatar            TT
Telugu           TE
Thai             TH
Tibetan          BO
Tigrinya         TI
Tonga            TO
Tsonga           TS
Turkish          TR
Turkmen          TK
Twi              TW
Uigur            UG
Ukrainian        UK
Urdu             UR
Uzbek            UZ
Vietnamese       VI
Volapuk          VO
Welsh            CY
Wolof            WO
Xhosa            XH
Yiddish          YI
Yoruba           YO
Zhuang           ZA
Zulu             ZU



META and DOCTYPE tags

 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<!-- <META> tags give search engines information they need -->
<!-- to catalog your site                                  -->
<META NAME = "keywords" CONTENT = "Webpage, design, HTML, 
   list, links, frame">
<META NAME = "description" CONTENT = "This Web site will help.">
<TITLE> - Welcome</TITLE>
</HEAD>
<BODY>

<H2 ALIGN = "center">Have Fun With the Site!</H2></P>
</BODY>
</HTML>



meta data: author, description and keywords

 
    <HTML>
    <HEAD>
    <TITLE>Company, Inc. Home Page</TITLE>
    <META NAME="AUTHOR" CONTENT="Big Company, Inc.">
    <META NAME="DESCRIPTION" CONTENT="#1 vendor of .">
    <META NAME="KEYWORDS" CONTENT="Company, Gadgets,
    Green, Regina">
    </HEAD>
    <BODY>
       . . .
    </BODY>
    </HTML>



Meta data: content type, content and charset

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
</head>
<body>
<img src="wbex.jpg" width="240" height="180" alt="Java" /> 
<p>Text. </p>
Watch our Sizzle slideshow
<hr />
Ready to visit? Book HERE.
</body>
</html>



Metadata for author

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Company name - Services - Service name</title>
<meta name="author" content="Your name and URL." />
</head>
<body>
</body>
</html>



Meta data for content type and charset

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Company name - Services - Service name</title>
</head>
<body>
</body>
</html>



Metadata for imagetoolbar

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Company name - Services - Service name</title>
<meta http-equiv="imagetoolbar" content="false" />
</head>
<body>
</body>
</html>



Meta data for Revisit-After

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Company name - Services - Service name</title>

<meta name="Revisit-After" content="30 Days" />
</head>
<body>
</body>
</html>



Meta data for robots

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Company name - Services - Service name</title>

<meta name="robots" content="ALL,INDEX" />
</head>
<body>
</body>
</html>



meta tags for search engines

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Company name - Services - Service name</title>
<meta name="keywords" content="keywords, separated, by, commas" />
<meta name="description" content="A short description about the Web site" />
</head>
<body>
</body>
</html>



meta tags provide search engines with information used to catalog a site

 
<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
   <head>
      <title> - Welcome</title>
      <meta name = "keywords" content = "Web page, design,  
         XHTML, tutorial, personal, help, index, form, 
         contact, feedback, list, links, frame" />
      <meta name = "description" content = "This Web site will ..." />
   </head>
   <body>
   </body>
</html>



MSSmartTagsPreventParsing Metadata

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Company name - Services - Service name</title>
<meta name="MSSmartTagsPreventParsing" content="true" />
</head>
<body>
</body>
</html>



Pragma metadata

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Company name - Services - Service name</title>
<meta http-equiv="pragma" content="no-cache" />
</head>
<body>
</body>
</html>



The meta attributes of this document describe the document and its keywords

<html>
<head>
<meta name="description"
content="HTML examples">
<meta name="keywords"
content="HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript">
</head>
<body>
<p>
The meta attributes of this document describe the document and its keywords.
</p>
</body>
</html>



The meta attributes of this document identify the author and the editor software

<html>
<head>
<meta name="author"
content="Jack">
<meta name="revised"
content="Jack, 6/10/99">
 
<meta name="generator"
content="Microsoft FrontPage 4.0">
</head>
<body>
<p>
The meta attributes of this document identify the author and the editor software.
</p>
</body>
</html>



You will be redirected to the new address in five seconds

<html>
<head>
<meta http-equiv="Refresh" content="5;url=http://www.wbex.ru">
</head>
<body>
<p>
Sorry! We have moved! The new URL is: <a href="http://www.wbex.ru">http://www.wbex.ru</a>
</p>
<p>
You will be redirected to the new address in five seconds.
</p>
<p>
If you see this message for more than 5 seconds, please click on the link above!
</p>
</body>
</html>