-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ru]: update Web/HTML/Element/title translation #24294
Conversation
Preview URLs Flaws (25)URL:
External URLs (1)URL:
(comment last updated: 2024-12-05 17:21:59) |
This pull request has merge conflicts that must be resolved before it can be merged. |
# Conflicts: # files/ru/web/html/element/title/index.md
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||
{{HTMLSidebar}} | ||
|
||
The **`<link>`** [HTML](/en-US/docs/Web/HTML) element specifies relationships between the current document and an external resource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
The **`<link>`** [HTML](/en-US/docs/Web/HTML) element specifies relationships between the current document and an external resource. | |
The **`<link>`** [HTML](/ru/docs/Web/HTML) element specifies relationships between the current document and an external resource. |
<link href="main.css" rel="stylesheet" /> | ||
``` | ||
|
||
This example provides the path to the stylesheet inside an `href` attribute and a [`rel`](/en-US/docs/Web/HTML/Attributes/rel) attribute with a value of `stylesheet`. The `rel` stands for "relationship", and is one of the key features of the `<link>` element — the value denotes how the item being linked to is related to the containing document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
This example provides the path to the stylesheet inside an `href` attribute and a [`rel`](/en-US/docs/Web/HTML/Attributes/rel) attribute with a value of `stylesheet`. The `rel` stands for "relationship", and is one of the key features of the `<link>` element — the value denotes how the item being linked to is related to the containing document. | |
This example provides the path to the stylesheet inside an `href` attribute and a [`rel`](/ru/docs/Web/HTML/Attributes/rel) attribute with a value of `stylesheet`. The `rel` stands for "relationship", and is one of the key features of the `<link>` element — the value denotes how the item being linked to is related to the containing document. |
crossorigin="anonymous" /> | ||
``` | ||
|
||
A `rel` value of `preload` indicates that the browser should preload this resource (see [`rel="preload"`](/en-US/docs/Web/HTML/Attributes/rel/preload) for more details), with the `as` attribute indicating the specific class of content being fetched. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
A `rel` value of `preload` indicates that the browser should preload this resource (see [`rel="preload"`](/en-US/docs/Web/HTML/Attributes/rel/preload) for more details), with the `as` attribute indicating the specific class of content being fetched. | |
A `rel` value of `preload` indicates that the browser should preload this resource (see [`rel="preload"`](/ru/docs/Web/HTML/Attributes/rel/preload) for more details), with the `as` attribute indicating the specific class of content being fetched. |
For example, the `stylesheet` link type is body-ok, and therefore `<link rel="stylesheet">` is permitted in the body. | ||
However, this isn't a good practice to follow; it makes more sense to separate your `<link>` elements from your body content, putting them in the `<head>`. | ||
- When using `<link>` to establish a favicon for a site, and your site uses a Content Security Policy (CSP) to enhance its security, the policy applies to the favicon. | ||
If you encounter problems with the favicon not loading, verify that the {{HTTPHeader("Content-Security-Policy")}} header's [`img-src` directive](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src) is not preventing access to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
If you encounter problems with the favicon not loading, verify that the {{HTTPHeader("Content-Security-Policy")}} header's [`img-src` directive](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src) is not preventing access to it. | |
If you encounter problems with the favicon not loading, verify that the {{HTTPHeader("Content-Security-Policy")}} header's [`img-src` directive](/ru/docs/Web/HTTP/Headers/Content-Security-Policy/img-src) is not preventing access to it. |
|
||
## Attributes | ||
|
||
This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attributes). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attributes). | |
This element includes the [global attributes](/ru/docs/Web/HTML/Global_attributes). |
|
||
### Preload examples | ||
|
||
You can find a number of `<link rel="preload">` examples in [Preloading content with `rel="preload"`](/en-US/docs/Web/HTML/Attributes/rel/preload). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
You can find a number of `<link rel="preload">` examples in [Preloading content with `rel="preload"`](/en-US/docs/Web/HTML/Attributes/rel/preload). | |
You can find a number of `<link rel="preload">` examples in [Preloading content with `rel="preload"`](/ru/docs/Web/HTML/Attributes/rel/preload). |
<tbody> | ||
<tr> | ||
<th> | ||
<a href="/en-US/docs/Web/HTML/Content_categories">Content categories</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
<a href="/en-US/docs/Web/HTML/Content_categories">Content categories</a> | |
<a href="/ru/docs/Web/HTML/Content_categories">Content categories</a> |
If <code><a href="/en-US/docs/Web/HTML/Global_attributes/itemprop">itemprop</a></code> is present: | ||
<a href="/en-US/docs/Web/HTML/Content_categories#flow_content">Flow content</a> and | ||
<a href="/en-US/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
If <code><a href="/en-US/docs/Web/HTML/Global_attributes/itemprop">itemprop</a></code> is present: | |
<a href="/en-US/docs/Web/HTML/Content_categories#flow_content">Flow content</a> and | |
<a href="/en-US/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>. | |
If <code><a href="/ru/docs/Web/HTML/Global_attributes/itemprop">itemprop</a></code> is present: | |
<a href="/ru/docs/Web/HTML/Content_categories#flow_content">Flow content</a> and | |
<a href="/ru/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>. |
If <a href="/en-US/docs/Web/HTML/Global_attributes/itemprop">itemprop</a> is present: any element that accepts | ||
<a href="/en-US/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
If <a href="/en-US/docs/Web/HTML/Global_attributes/itemprop">itemprop</a> is present: any element that accepts | |
<a href="/en-US/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>. | |
If <a href="/ru/docs/Web/HTML/Global_attributes/itemprop">itemprop</a> is present: any element that accepts | |
<a href="/ru/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>. |
</tr> | ||
<tr> | ||
<th scope="row">Implicit ARIA role</th> | ||
<td><a href="/en-US/docs/Web/Accessibility/ARIA/Roles/link_role"><code>link</code></a> with <code>href</code> attribute</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
<td><a href="/en-US/docs/Web/Accessibility/ARIA/Roles/link_role"><code>link</code></a> with <code>href</code> attribute</td> | |
<td><a href="/ru/docs/Web/Accessibility/ARIA/Roles/link_role"><code>link</code></a> with <code>href</code> attribute</td> |
Description
This PR updates Web/HTML/Element/title translation in
ru
locale.