From 447b8f50fca8d87f66cf05638c02e7086b490a01 Mon Sep 17 00:00:00 2001 From: alkeshattal Date: Tue, 25 Jun 2019 20:04:11 +0200 Subject: [PATCH] Added points on Custom Data Attributes in HTML (#32749) --- guide/english/html/attributes/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/guide/english/html/attributes/index.md b/guide/english/html/attributes/index.md index ab7cb6887e3..c6dc5d76ea3 100644 --- a/guide/english/html/attributes/index.md +++ b/guide/english/html/attributes/index.md @@ -34,9 +34,16 @@ Here are examples that do the same thing: ``` +# Custom Data Attributes +HTML also provides the facility to embed custom attributes to element which is specific for that application or technology in which the webpage is built. + +These are usally of the format data-* where * is the name of the custom attribute. + ## Other Resources + - [HTML links](https://guide.freecodecamp.org/html/attributes/links/) - [Href Attribute](https://guide.freecodecamp.org/html/attributes/href-attribute/) - [Lang Attribute](https://guide.freecodecamp.org/html/attributes/lang/) - [HTML Input Element](https://guide.freecodecamp.org/html/attributes/input/) - [Required Attribute](https://guide.freecodecamp.org/html/attributes/required/) +- [Cutom Data Attribute](https://www.w3schools.com/tags/att_global_data.asp)