0

I cannot get a border around my heading even after using <span>

18th Apr 2020, 6:05 AM
Deepak Tandan
8 odpowiedzi
+ 5
Deepak Tandan Span tag does not add border automatically. You need to specify it using css' border property. For example: <span style="border: 1px solid gray">My Skills</span>
18th Apr 2020, 6:43 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
Can you please show me the code, otherwise it's hard to help.
18th Apr 2020, 6:17 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
Use margin
18th Apr 2020, 6:23 AM
Agani Ian
Agani Ian - avatar
+ 1
Laban Paul When I wrote my answer, Deepak did not start CSS course so I suggested him to use inline CSS instead of external CSS because that might confuse him. I am well aware about CSS and how it is used.
23rd May 2020, 3:57 PM
Raj Chhatrala
Raj Chhatrala - avatar
18th Apr 2020, 6:40 AM
Deepak Tandan
0
🔫 Rick Grimes thanks once again. I am just a beginner ..I think I should take it step by step.I will finish learning HTML and then move to css.
18th Apr 2020, 12:54 PM
Deepak Tandan
0
Rick, that would be great if you were dealing with html 4. But html 5 depends a lot on css. CSS ain't that hard, just give it a try. It is not independent, it works in conjunction with html, so i would advise you to learn both of them side by side.
23rd May 2020, 3:46 PM
Laban Paul
Laban Paul - avatar
0
Okay. I get it. I guess i was confused by your answer to him.
23rd May 2020, 4:02 PM
Laban Paul
Laban Paul - avatar