Color | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Color

How to set color of Fieldsets and non-paragraph words? Thx :D

9th Jul 2018, 12:24 PM
JoseMiguelRomero
JoseMiguelRomero - avatar
11 Answers
+ 1
I don't quite understand the question, but I think you are after <span> tags. Check this out... https://code.sololearn.com/WptQA8MFv284/?ref=app
9th Jul 2018, 12:28 PM
James
James - avatar
0
This might work on non paragraph words but how about the fieldsets which are their own element?
9th Jul 2018, 12:31 PM
JoseMiguelRomero
JoseMiguelRomero - avatar
0
Span should work for labels in a fieldset. But do you mean to change the colour of text in an <input> tag? If so, apply the styling to the input tag itself.
9th Jul 2018, 12:37 PM
James
James - avatar
0
I meant as in the box that the fieldset makes
9th Jul 2018, 12:41 PM
JoseMiguelRomero
JoseMiguelRomero - avatar
0
Try border-color in CSS/style.
9th Jul 2018, 12:45 PM
James
James - avatar
0
Oh well
9th Jul 2018, 12:51 PM
JoseMiguelRomero
JoseMiguelRomero - avatar
0
I have not learned css yet
9th Jul 2018, 12:51 PM
JoseMiguelRomero
JoseMiguelRomero - avatar
0
so i guess ill have to do that first
9th Jul 2018, 12:52 PM
JoseMiguelRomero
JoseMiguelRomero - avatar
0
Do this... <fieldset style="border-color: red"> Using the style attribute is basically using CSS, but in a HTML document.
9th Jul 2018, 12:52 PM
James
James - avatar
0
alright
9th Jul 2018, 12:53 PM
JoseMiguelRomero
JoseMiguelRomero - avatar
0
Can you have multiple pages of html in the playground? I have coded a small website that has 3 html pages then css and js, I put in the href link for each of the pages in the index.html but i can only see the one html page . nothing to do with color so i guess I put this question in the wrong place, but if anyone's knows could you let me know how I can have multiple html pages .
22nd Aug 2020, 3:57 AM
Craig Dixon
Craig Dixon - avatar