Please answer for this question.fill in the blanks to create a datalist with with predefined colour red | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please answer for this question.fill in the blanks to create a datalist with with predefined colour red

<input type="text" list="colors"/> __________ id ="colors"> <option color="red"> <___________>

29th Aug 2018, 8:37 AM
Ajitha G R
Ajitha G R - avatar
13 Answers
+ 7
<form> <input type="text" name="color" list ="colors" /> <datalist id=" colors "> <option value="Red"> <option value="Blue"> <option value="Green"> </ datalist > </form>
30th Sep 2019, 8:11 AM
Mohamed
Mohamed - avatar
+ 4
HTML is the language of web pages. Generally, to access HTML you need to access a web address. This will send a request to a server to serve you the HTML, which your browser renders and gives you what you see here. for more information go through the php web domain page. If you really have to give your HTML a setup file (Iโ€™m assuming you mean setup.exe, like an installer) you can use electron.js. This technically serves your purpose of providing a setup for a HTML file. I would urge you not use this method however. HTML in general does not need a setup. You should simply be able to open the HTML file in your browser to be able to view the rendered version, or open in your favourite text editor (i.e. Notepad) to see the underlying code. If you want to host it on a domain, itโ€™s a little more complicated and requires the purchasing of a domain name and hosting service. I would recommend hiring a professional if you arenโ€™t comfortable with this.
13th Feb 2020, 10:56 AM
RAFAEL JOHN
RAFAEL JOHN - avatar
+ 1
<input type="text" list="colors"/> <datalist id="colors"> <option color="red"> </datalist>
29th Aug 2018, 8:48 AM
Roel
Roel - avatar
0
Satnam Singh thanks man..๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘Œ
29th Aug 2018, 8:55 AM
Ajitha G R
Ajitha G R - avatar
0
The correct answer is :- 1 line 2 colors 3 datalist
2nd Aug 2019, 10:10 AM
Vicky Soni
Vicky Soni - avatar
0
13th Feb 2020, 7:59 AM
RAFAEL JOHN
RAFAEL JOHN - avatar
0
Fill in the blanks to create a video element: < controls> <source ="video.mp4" type="video/mp4"/> < src="video.ogg" type="video/ogg"/> Video not supported </video>
12th May 2020, 6:18 PM
mennad sofiane
mennad sofiane - avatar
0
the correct answer is 1. list 2. colors 3. datalist
3rd Jun 2020, 9:42 AM
revita nisya afifah
0
public_____ Color { RED, _____ , GREEN;
10th Jun 2020, 7:45 AM
Nijam Ahammed Emon
Nijam Ahammed Emon - avatar
0
1}video 2}src 3}source
15th Dec 2020, 11:22 AM
Dynamic Shantanu
Dynamic Shantanu - avatar
0
29th Dec 2020, 4:36 AM
ะœะธัะตะฒั€ะฐ ะะปะตะบัะตะน
ะœะธัะตะฒั€ะฐ ะะปะตะบัะตะน - avatar
0
<label =" ">Label</label> <input type="text" id="demo">
13th Apr 2022, 4:24 PM
Afriza Maulana
Afriza Maulana - avatar
0
<label =" ">Label</label> <input type="text" id="demo">
13th Apr 2022, 4:26 PM
Afriza Maulana
Afriza Maulana - avatar