aboutsummaryrefslogtreecommitdiff
path: root/files/ru/learn/html/howto/use_data_attributes/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/learn/html/howto/use_data_attributes/index.html')
-rw-r--r--files/ru/learn/html/howto/use_data_attributes/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/ru/learn/html/howto/use_data_attributes/index.html b/files/ru/learn/html/howto/use_data_attributes/index.html
index cef001e25a..9820e4e0f9 100644
--- a/files/ru/learn/html/howto/use_data_attributes/index.html
+++ b/files/ru/learn/html/howto/use_data_attributes/index.html
@@ -1,10 +1,11 @@
---
title: Использование data-* атрибутов
-slug: Web/Guide/HTML/Using_data_attributes
+slug: Learn/HTML/Howto/Use_data_attributes
tags:
- Guide
- HTML
translation_of: Learn/HTML/Howto/Use_data_attributes
+original_slug: Web/Guide/HTML/Using_data_attributes
---
<p><a href="/ru/docs/Web/Guide/HTML/HTML5">HTML5</a> спроектирован с возможностью расширения данных ассоциированных с каким-либо элементом, но в то же время не обязательно имеющих определённое значение. <a href="/ru/docs/Web/HTML/Global_attributes#data-*"><code>data-*</code> атрибуты</a> позволяют хранить дополнительную информацию в стандартных элементах HTML, без хаков вроде нестандартных атрибутов, лишних DOM-свойств или {{domxref("Node.setUserData()")}}.</p>