HTML
HTML (HyperText Markup Language, ) - , -.
HTML -. <>. , .
() HTML-, (DOM) , ( , ). , HTML-, HTML- , , ..
() , - . HTML- , , CSS .
(, html-, ), ="". , . .
class id HTML-, , <html>, <head>, <meta>,<title>, <style> <script>. class id. class , <div class="nav top">. class id , , .
, . , , . / : < ></ >. .
, , , <input type="button" value=""> .
, , <p><i></i></p>. ( ), , : <p><i></p></i>.
HTML- <head></head> <body></body>.
-
HTML , (Document Type Definition, DTD). DTD XML-, , , HTML. HTML DTD.
|
|
DOCTYPE - . DOCTYPE HTML (, html), DTD- .
<!DOCTYPE html> <!-- -->
<html>
<head> <!-- -->
<meta charset="UTF-8"> <!-- -->
<title>...</title> <!-- -->
<link rel="stylesheet" type="text/css" href="style.css"> <!-- -->
<script src="script.js"></script> <!-- -->
</head>
<body> <!-- -->
</body>
</html>
<head>...</head> : , , , .. , , , .
<head> <title>. , , -. 60 , . -.
<head> <meta>. , html- . <head> <meta>, .
, , :
<meta name="description" lang="ru" content=" ">
<meta name="description" lang="en" content="Description">
<meta name="keywords" lang="ru" content=" ">
<meta name="keywords" lang="en" content="Keywords">
<meta> - :
:
<meta name="robots" content="index, follow">
, :
<meta name="robots" content="index, nofollow">
:
<meta name="robots" content="noindex, nofollow">
refresh:
<meta http-equiv="refresh" content="30">
30 . , URL- url:
<meta http-equiv="refresh" content="0; url=http://yandex.ru/">
|
|
<meta> charset, content, http-equiv, name, .
charset | HTML-:<meta charset="UTF-8"> |
content | , , http-equiv name, . |
http-equiv | - ( HTTP ). , : default-style . content <link>, CSS, <style>, . refresh , content "url=_". , , 30 : <meta http-equiv="refresh" content="30"> , URL- url: <meta http-equiv="refresh" content="0; url=http://mail.ru/"> |
name | , content. , http-equiv, charset itemprop. application-name -, . author . description , : <meta name="description" content=" "> generator , , : <meta name="generator" content="WordPress 4.0">. keywords , , , : <meta name="keywords" content=" ">. |
- :
@import url
<!DOCTYPE html>
<html>
<head>
<style>
@import url(style.css);
</style>
<meta>
<title> </title>
</head>
<link>. . . . :
<link rel="stylesheet" href="style.css" type="text/css">
href | , . |
type | MIME- , . "text/css" |
<body></body>
HTML
HTML , . , .
"". , , , .
, , HTML-, .
accesskey | . . , . :<a>, <area>, <button>, <input>, <label>, <legend>,<textarea>. : . |
class | ( ). : . |
contenteditable | , (). HTML . : true/false. |
contextmenu | , <menu>. : id <menu>. |
dir | <bdo> <bdi>. : ltr/rtl/auto. |
draggable | , . : true/false/auto. |
dropzone | , , . : copy . move . link . |
hidden | , . : hidden. |
id | . : id . |
lang | () . : . |
spellcheck | , . : true/false. |
style | CSS, . : CSS. |
tabindex | TAB. : . |
title | , . : . |
translate | . : yes/no. |
HTML
|
|
HTML . .
, , , , ( font-family).
, , - . , , <body>.
HTML
-, , . <h1>...<h6> . , .. <h1> <h2> .. <h1>...<h6>.
<h1> | , , . <h1> . , . |
<h2> | <h1>. 1.5em, 0.83em. |
<h3> | <h2>. 1.17em, 1em. |
<h4><h5><h6> | , . 1em / 0.83em / 0.67em, 1.33em / 1.67em / 2.33em . |
|
|