Need HTML & CSS expert's help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Need HTML & CSS expert's help

How to give background only to text not complete line & how to give background to spaces also. Example code is attached below, please edit and share your edited code. Thanks for your time. https://code.sololearn.com/WQpDxjbR6ZwC/?ref=app

10th Jan 2018, 4:53 PM
jatin verma
jatin verma - avatar
11 Answers
+ 2
@obsessed @vitaliy Thanks for your help, got what I wanted by learning from your code and updated the code please view.
10th Jan 2018, 6:55 PM
jatin verma
jatin verma - avatar
+ 7
@jatin check it again
10th Jan 2018, 5:53 PM
Botol
Botol - avatar
+ 7
@jatin there is the code of the "space" but i dont remember it try to find it in the internet and put it after "Hello"
10th Jan 2018, 6:01 PM
Botol
Botol - avatar
+ 7
I can offer you such variant of code. Here is it. https://code.sololearn.com/WxdNbVWSzWB4/?ref=app
10th Jan 2018, 6:38 PM
Vitaliy Angelov (Rostov-on-Don)
Vitaliy Angelov (Rostov-on-Don) - avatar
+ 7
@jatin verma No problem. I'll keep your code, indicating your copyright for example for other students, if you don't mind. and you are wellcome to Sololearn. Here you always can find usefull advise. And I wish you good luck in future. Be patient.💪🎈😋☺
10th Jan 2018, 7:04 PM
Vitaliy Angelov (Rostov-on-Don)
Vitaliy Angelov (Rostov-on-Don) - avatar
+ 1
If you want to make it so the whole background is a certain color you need to use CSS. I would advise learning html,css, and js. Hope this helps good luck!
10th Jan 2018, 5:41 PM
Ole113
Ole113 - avatar
+ 1
@alex i had learnt HTML & now learning CSS.... please help me in this
10th Jan 2018, 5:44 PM
jatin verma
jatin verma - avatar
0
@obsessed not satisfied.. display:block changed span property and its not looking good & i have to check what width my text should
10th Jan 2018, 5:51 PM
jatin verma
jatin verma - avatar
0
@obsessed still span property changed... and hello world without space
10th Jan 2018, 5:55 PM
jatin verma
jatin verma - avatar
0
i know for space it is   but i think its not correct way to do it..
10th Jan 2018, 6:02 PM
jatin verma
jatin verma - avatar