html color tag
html color tag
ஃ color tag syntax :
<input type="color">
1] Html is used to create a color picker.
2] Used to select a color from a visual interface.
3] The value of the tag is always a seven character
string in the format eg-#FFA07A
4] select user use a specific color.
Html program
html color tag
<!DOCTYPE html>
<html>
<head>
<title>HTML color tag</title>
</head>
<body>
<form>
<h2>select your favorite color</h2> <br>
<input type="color" name="upclick"
value="#D35400" ><br>upclick<br><br>
<input type="color" name="downclick"
value="#FF7F50 "><br>downclick
</form>
</body>
</html>
Output :-
html color tag
Related Post
👇👇👌👍👌
Post a Comment