Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1061902 of HTML

  • URL ревизии: Web/HTML
  • Заголовок ревизии: HTML
  • ID ревизии: 1061902
  • Создано:
  • Автор: bychek.ru
  • Это текущая ревизия? Нет
  • Комментарий Some fixes

Содержание ревизии

{{HTMLSidebar()}}

Язык гипертекстовой разметки (HyperText Markup Language — HTML), основной строительный блок веб-страниц, используется для создания и визуального представления веб-станиц. Он определяет содержание страницы, но не её функциональность.

HTML добавляет разметку в обычный текст. Гипертекст содержит ссылки, которыми веб-страницы связываются друг с другом, делая Всемирную паутину тем, чем она является сегодня. Создавая и публикуя веб-страницы в сети интернет, вы становитесь активным участником Всемирной паутины. HTML поддерживает как изображения, так и другой медиаконтент. С помощью HTML каждый может создать статический, а также динимический сайт. HTML является языком, описывающим структуру и семантику содержимого веб-документа. Контент веб-страницы размечен с помощью тегов, представляющих HTML-элементы. Примерами таких элементов являются {{HTMLElement("img")}}, {{HTMLElement("title")}}, {{HTMLElement("p")}}, {{HTMLElement("div")}},{{HTMLElement("picture")}}, и так далее. Эти элементы формируют строительные блоки для любого веб-сайта.

Статьи, представленные здесь, содержат справочные материалы по веб-разработке.

  • Справочник по HTML

    В нашем подробном справочнике вы найдете всю необходимую информацию по каждому из элементов и атрибутов, составляющих HTML.

  • Руководство по HTML

    Для чтения статей, учебников и примеров посвященных HTML обратитесь к нашему руководству по HTML для разработчиков.

  • Введение в HTML

    Если вы впервые столкнулись с веб-разработкой, то прочтите наш вводный материал о том, что такое HTML и как его использовать.

Справочники

Блочные элементы
HTML (Язык Гипертекстовой Разметки) элементы как правило блочные ("block-level" elements) и строчные ("inline" elements). Блочные элементы, как правило, занимают всю ширину своего родителя, формально создавая "блок" (отсюда и название).
CORS enabled image
The HTML specification introduces a crossorigin attribute for images that, in combination with an appropriate CORS header, allows images defined by the <img> element loaded from foreign origins to be used in canvas as if they were being loaded from the current origin.
CORS настройки атрибутов
In HTML5, some HTML elements which provide support for CORS, such as <img> or <video>, have a crossorigin attribute (crossOrigin property), which lets you configure the CORS requests for the element's fetched data.
Контролирование правописания в HTML формах
Firefox 2 introduces spell checking support to text areas and text fields in web forms. The user can specify using the about:config interface whether or not spellchecking is enabled and whether to check both text areas and text fields or only text areas.
DASH Adaptive Streaming for HTML 5 Video
Dynamic Adaptive Streaming over HTTP (DASH) is an adaptive streaming protocol. This means that it allows for a video stream to switch between bit rates on the basis of network performance, in order to keep a video playing.
Управление фокусом в HTML
In the HTML5 working draft, the activeElement DOM attribute and the hasFocus() DOM method give the programmer the ability to have better control of the interactivity of the page due to the user's actions. For example, both of them can be used for statistical usage purposes, tracking the number of clicks on certain links of a page, measuring the amount of time an element is focused, and so forth. In addition, when combined with AJAX technology, they help minimize the number of requests to the server, depending on the user activity and the page layout.
Общие атрибуты
Global attributes may be specified on all HTML elements, even those not specified in the standard. That means that any non-standard elements must still permit these attributes, even though using those elements means that the document is no longer HTML5-compliant. For example, HTML5-compliant browsers hide content marked as <foo hidden>...<foo>, even though <foo> is not a valid HTML element.
Руководство по атрибутам в HTML
У элементов HTML есть атрибуты; это дополнительные значения, которые настраивают элементы или регулируют их поведение различным способом, чтобы соответствовать критериям пользователей.
Руководство по элементам в HTML
На этой странице находится список всех HTML элементов.
Руководство по HTML
HTML - это язык, который описывает структуру и смысловое содержание веб-документа; он состоит из элементов, каждый из которых может быть изменён с использованием атрибутов этих элементов.
Строчные элементы
HTML (Hypertext Markup Language) elements are usually "inline" elements or "block-level" elements. An inline element occupies only the space bounded by the tags that define the inline element. The following example demonstrates the inline element's influence:
Типы ссылок
In HTML, the following link types indicate the relationship between two documents, in which one links to the other using an <a>, <area>, or <link> element.
Форматы медиа поддерживаемые HTML audio и video элементами
<audio> и <video> элементы предоставляют поддержку для проигрывания аудио и видео без необходимости использования плагинов.
Микроформаты
Microformats (sometimes abbreviated μF) are small patterns of HTML for marking up entities like people, organizations, events, locations, blog posts, products, reviews, resumes, recipes, etc.
They are simple conventions to embed semantics in HTML and quickly provide an API to be used by search engines, aggregators, and other tools.
Оптимизация ваших страниц для ускорения парсинга
Traditionally in browsers the HTML parser has run on the main thread and has blocked after a </script> tag until the script has been retrieved from the network and executed. The HTML parser in Firefox 4 and later supports speculative parsing off the main thread. It parses ahead while scripts are being downloaded and executed. As in Firefox 3.5 and 3.6, the HTML parser starts speculative loads for scripts, style sheets and images it finds ahead in the stream. However, in Firefox 4 and later the HTML parser also runs the HTML tree construction algorithm speculatively. The upside is that when a speculation succeeds, there's no need to reparse the part of the incoming file that was already scanned for scripts, style sheets and images. The downside is that there's more work lost when the speculation fails.
Использования кеша приложений
HTML5 предоставляет механизм кэширования приложения, позволяющий веб-приложениям работать в автономном режиме. Разработчики теперь могут использовать интерфейс Кэша приложения (AppCache), сообщая браузеру, какие из ресурсов браузеру следует закэшировать и сделать доступными в режиме оффлайн. Закэшированные приложения загружаются и работают корректно, даже если пользователь обновляет страницу в тот момент, когда он отключён от сети.

Посмотреть все…

Руководства и учебные материалы

Руководство по HTML для разработчиков
Статьи MDN демонстрируют определенные методики, которые вы можете использовать при построении веб-контента при помощи HTML. Там же можно найти учебные и другие материалы, которые будут не менее полезны.

{{CommunityBox("Web layout", "dev-tech-layout", "mozilla.dev.tech.layout", "", "Stack Overflow|https://stackoverflow.com/questions/tagged/html|HTML topics|Visit Stack Overflow, a collaboratively built and maintained Q&A site. See if you can find an answer; if not, you can ask your question there.")}}

Источник ревизии

<div>{{HTMLSidebar()}}</div>

<p><span class="seoSummary">Язык гипертекстовой разметки (HyperText Markup Language — HTML), основной строительный блок веб-страниц, используется для создания и визуального представления веб-станиц. Он определяет содержание страницы, но не её функциональность.</span></p>

<p>HTML добавляет разметку в обычный текст. Гипертекст содержит ссылки, которыми веб-страницы связываются друг с другом, делая Всемирную паутину тем, чем она является сегодня. Создавая и публикуя веб-страницы в сети интернет, вы становитесь активным участником Всемирной паутины. HTML поддерживает как изображения, так и другой медиаконтент. С помощью HTML каждый может создать статический, а также динимический сайт. HTML является языком, описывающим структуру и семантику содержимого веб-документа. Контент веб-страницы размечен с помощью тегов, представляющих HTML-элементы. Примерами таких элементов являются {{HTMLElement("img")}}, {{HTMLElement("title")}}, {{HTMLElement("p")}}, {{HTMLElement("div")}},{{HTMLElement("picture")}}, и так далее. Эти элементы формируют строительные блоки для любого веб-сайта.</p>

<p>Статьи, представленные здесь, содержат справочные материалы по веб-разработке.</p>

<section class="cleared" id="sect1">
<ul class="card-grid">
 <li><span>Справочник по HTML</span>

  <p>В нашем <a href="/ru/docs/Web/HTML/Ссылки">подробном справочнике</a> вы найдете всю необходимую информацию по каждому из элементов и атрибутов, составляющих HTML.</p>
 </li>
 <li><span>Руководство по HTML</span>
  <p>Для чтения статей, учебников и примеров посвященных HTML обратитесь к нашему <a href="/ru/docs/Web/Guide/HTML">руководству по HTML для разработчиков</a>.</p>
 </li>
 <li><span>Введение в HTML</span>
  <p>Если вы впервые столкнулись с веб-разработкой, то прочтите наш <a href="/ru/docs/Web/Guide/HTML/Introduction">вводный материал</a> о том, что такое HTML и как его использовать.</p>
 </li>
</ul>

<div class="row topicpage-table">
<div class="section">
<h2 class="Documentation" id="Справочники">Справочники</h2>

<dl>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Block-level_elements">Блочные элементы</a></dt>
 <dd class="landingPageList">HTML (Язык Гипертекстовой Разметки) элементы как правило&nbsp;блочные ("block-level" elements) и строчные (<a href="/ru/docs/HTML/Inline_elements" title="/ru/docs/HTML/inline_elements">"inline" elements</a>). Блочные элементы, как правило, занимают всю ширину своего родителя, формально&nbsp;создавая "блок" (отсюда и название).</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/CORS_enabled_image">CORS enabled image</a></dt>
 <dd class="landingPageList">The HTML specification introduces a <code><a href="/ru/docs/Web/HTML/Element/img#attr-crossorigin">crossorigin</a></code> attribute for images that, in combination with an appropriate <a class="glossaryLink" href="/ru/docs/Glossary/CORS" title="CORS: It is insecure to allow a webpage to request any resources from any other domains without limitation. CORS (Cross-Origin Resource Sharing) is a system that determines whether to block or fulfill these requests.">CORS</a> header, allows images defined by the <a href="/ru/docs/Web/HTML/Element/img" title="The HTML Image Element (&lt;img&gt;) represents an image of the document."><code>&lt;img&gt;</code></a> element loaded from foreign origins to be used in canvas as if they were being loaded from the current origin.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/CORS_settings_attributes">CORS настройки атрибутов</a></dt>
 <dd class="landingPageList">In HTML5, some HTML elements which provide support for <a href="/ru/docs/HTTP/Access_control_CORS">CORS</a>, such as <a href="/ru/docs/Web/HTML/Element/img" title="The HTML Image Element (&lt;img&gt;) represents an image of the document."><code>&lt;img&gt;</code></a> or <a href="/ru/docs/Web/HTML/Element/video" title="The HTML &lt;video&gt; element is used to embed video content. It may contain several video sources, represented using the src attribute or the &lt;source&gt; element; the browser will choose the most suitable one."><code>&lt;video&gt;</code></a>, have a <code>crossorigin</code> attribute (<code>crossOrigin</code> property), which lets you configure the CORS requests for the element's fetched data.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Controlling_spell_checking_in_HTML_forms">Контролирование правописания в HTML формах</a></dt>
 <dd class="landingPageList">Firefox 2 introduces spell checking support to text areas and text fields in web forms. The user can specify using the about:config interface whether or not spellchecking is enabled and whether to check both text areas and text fields or only text areas.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/DASH_Adaptive_Streaming_for_HTML_5_Video">DASH Adaptive Streaming for HTML 5 Video</a></dt>
 <dd class="landingPageList">Dynamic Adaptive Streaming over HTTP (DASH) is an adaptive streaming protocol. This means that it allows for a video stream to switch between bit rates on the basis of network performance, in order to keep a video playing.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Focus_management_in_HTML">Управление фокусом в HTML</a></dt>
 <dd class="landingPageList">In the HTML5 working draft, the <code><a href="/en/DOM/document.activeElement" title="en/DOM/document.activeElement">activeElement</a></code> DOM attribute and the <code><a href="/en/DOM/document.hasFocus" title="en/DOM/document.hasFocus">hasFocus()</a></code> DOM method give the programmer the ability to have better control of the interactivity of the page due to the user's actions. For example, both of them can be used for statistical usage purposes, tracking the number of clicks on certain links of a page, measuring the amount of time an element is focused, and so forth. In addition, when combined with AJAX technology, they help minimize the number of requests to the server, depending on the user activity and the page layout.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Общие_атрибуты">Общие атрибуты</a></dt>
 <dd class="landingPageList">Global attributes may be specified on all <a href="/ru/docs/Web/HTML/Element">HTML elements</a>, <em>even those not specified in the standard</em>. That means that any non-standard elements must still permit these attributes, even though using those elements means that the document is no longer HTML5-compliant. For example, HTML5-compliant browsers hide content marked as&nbsp;<code>&lt;foo hidden&gt;...&lt;foo&gt;</code><code>, </code>even though <code>&lt;foo&gt;</code> is not a valid HTML element.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Attributes">Руководство по атрибутам в HTML</a></dt>
 <dd class="landingPageList">У элементов HTML есть <strong>атрибуты</strong>; это дополнительные значения, которые настраивают элементы или регулируют их поведение различным способом, чтобы соответствовать критериям пользователей.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Element">Руководство по элементам в HTML</a></dt>
 <dd class="landingPageList">На этой странице находится список всех <a class="glossaryLink" href="/ru/docs/Glossary/HTML" title="HTML: HTML (HyperText Markup Language) is a descriptive language that specifies webpage structure.">HTML</a> <a class="glossaryLink" href="/ru/docs/Glossary/Element" title="elements: An element is a part of a webpage. In XML and HTML, an element may contain a data item or a chunk of text or an image, or perhaps nothing. A typical element includes an opening tag, attributes, content, and a closing tag:">элементов</a>.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Ссылки">Руководство по HTML</a></dt>
 <dd class="landingPageList">HTML - это язык, который описывает структуру и смысловое содержание веб-документа; он состоит из <strong>элементов</strong>, каждый из которых может быть изменён с использованием <strong>атрибутов</strong> этих элементов.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Inline_elements">Строчные элементы</a></dt>
 <dd class="landingPageList">HTML (Hypertext Markup Language) elements are usually "inline" elements or <a href="/ru/docs/Web/HTML/Block-level_elements">"block-level" elements</a>. An inline element occupies only the space bounded by the tags that define the inline element. The following example demonstrates the inline element's influence:</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Типы_ссылок">Типы ссылок</a></dt>
 <dd class="landingPageList">In HTML, the following link types indicate the relationship between two documents, in which one links to the other using an <a href="/ru/docs/Web/HTML/Element/a" title="The HTML &lt;a&gt; Element (or the HTML Anchor Element) defines a hyperlink, the named target destination for a hyperlink, or both."><code>&lt;a&gt;</code></a>, <a href="/ru/docs/Web/HTML/Element/area" title="The HTML &lt;area&gt; element defines a hot-spot region on an image, and optionally associates it with a hypertext link. This element is used only within a &lt;map&gt; element."><code>&lt;area&gt;</code></a>, or <a href="/ru/docs/Web/HTML/Element/link" title="The HTML Link Element (&lt;link&gt;) specifies relationships between the current document and an external resource. Possible uses for this element include defining a relational framework for navigation. This Element is most used to link to style sheets."><code>&lt;link&gt;</code></a> element.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Поддерживаемые_медиа_форматы">Форматы медиа поддерживаемые HTML audio и video элементами</a></dt>
 <dd class="landingPageList"><a class="new" href="/ru/docs/Web/HTML/Element/audio" title="Документация об этом ещё не написана; пожалуйста, поспособствуйте её написанию!"><code>&lt;audio&gt;</code></a> и <a href="/ru/docs/Web/HTML/Element/video" title="Для встраивания видео контента в документ используйте элемент HTML &lt;video&gt;. Видео элемент может содержать один или несколько источников видео. Чтобы указать источник видео, необходимо использовать атрибут src или элемент &lt;source&gt;; браузер сам определит наиболее подходящий источник."><code>&lt;video&gt;</code></a> элементы предоставляют поддержку для проигрывания аудио и видео без необходимости использования плагинов.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/microformats">Микроформаты</a></dt>
 <dd class="landingPageList"><span class="p-summary"><a class="external external-icon" href="https://microformats.org"><dfn>Microformats</dfn></a> (sometimes abbreviated <strong>μF</strong>) are small patterns&nbsp;of HTML for marking up entities like people, organizations, events, locations, blog posts, products, reviews, resumes, recipes, etc.</span><br />
 They are simple conventions to embed semantics in HTML and&nbsp;quickly provide&nbsp;an API to be&nbsp;used by search engines, aggregators, and other tools.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Optimizing_your_pages_for_speculative_parsing">Оптимизация ваших страниц для ускорения парсинга</a></dt>
 <dd class="landingPageList">Traditionally in browsers the HTML&nbsp;parser has run on the main thread and has blocked after a <code>&lt;/script&gt;</code> tag until the script has been retrieved from the network and executed. The HTML parser in Firefox 4 and later supports speculative parsing off the main thread. It parses ahead while scripts are being downloaded and executed. As in Firefox 3.5 and 3.6, the HTML parser starts speculative loads for scripts, style sheets and images it finds ahead in the stream. However, in Firefox 4 and later the HTML parser also runs the HTML tree construction algorithm speculatively. The upside is that when a speculation succeeds, there's no need to reparse the part of the incoming file that was already scanned for scripts, style sheets and images. The downside is that there's more work lost when the speculation fails.</dd>
 <dt class="landingPageList"><a href="/ru/docs/Web/HTML/Using_the_application_cache">Использования кеша приложений</a></dt>
 <dd class="landingPageList"><a href="/ru/docs/HTML/HTML5" title="HTML/HTML5">HTML5</a> предоставляет механизм <em>кэширования приложения</em>, позволяющий веб-приложениям работать в автономном режиме. Разработчики теперь могут использовать интерфейс <strong>Кэша приложения</strong> (<em>AppCache</em>), сообщая браузеру, какие из ресурсов браузеру следует закэшировать и сделать доступными в режиме оффлайн. Закэшированные приложения загружаются и работают корректно, даже если пользователь обновляет страницу в тот момент, когда он отключён от сети.</dd>
</dl>

<p><span class="alllinks"><a href="/ru/docs/tag/HTML" title="Статьи отмеченные: HTML">Посмотреть все…</a></span></p>
</div>

<div class="section">
<h2 class="Tools" id="Tools" name="Tools">Руководства и учебные материалы</h2>

<dl>
 <dt><a href="/ru/docs/Web/Guide/HTML">Руководство по HTML для разработчиков</a></dt>
 <dd>Статьи MDN демонстрируют определенные методики, которые вы можете использовать при построении веб-контента при помощи HTML. Там же можно найти учебные и другие материалы, которые будут не менее полезны.</dd>
</dl>
</div>
</div>

<p>{{CommunityBox("Web layout", "dev-tech-layout", "mozilla.dev.tech.layout", "", "Stack Overflow|https://stackoverflow.com/questions/tagged/html|HTML topics|Visit Stack Overflow, a collaboratively built and maintained Q&amp;A site. See if you can find an answer; if not, you can ask your question there.")}}</p>
</section>
Вернуть эту версию