From 93537670c0ed7081be3f3d83e34428eaf01b6fff Mon Sep 17 00:00:00 2001 From: Ayushman9454 <44403932+Ayushman9454@users.noreply.github.com> Date: Sun, 17 Feb 2019 16:31:20 +0530 Subject: [PATCH] added color input (#27096) * added color input * Added further details and formatting --- .../html/attributes/input-type-attribute/index.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/guide/english/html/attributes/input-type-attribute/index.md b/guide/english/html/attributes/input-type-attribute/index.md index a276660976..2d939caede 100644 --- a/guide/english/html/attributes/input-type-attribute/index.md +++ b/guide/english/html/attributes/input-type-attribute/index.md @@ -82,6 +82,14 @@ Displays the reset button. The text which should be displayed in the button is i ``` +### color +Allows color input through a color picker. The color which should be displayed by default in the box is in the `value` attribute, and should be specified in hexadecimal format. +```html +
+``` +Note: `type="color"` is not supported in Internet Explorer 11. -There are more types of elements. For more information visit [MSDN]("https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input") or [w3schools]("https://www.w3schools.com/Html/html_form_input_types.asp"). +There are more types of elements. For more information visit [MSDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) or [W3schools](https://www.w3schools.com/Html/html_form_input_types.asp).