Please how do i make one word aligned to the left and the another to the right but still on the same line? html/Css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please how do i make one word aligned to the left and the another to the right but still on the same line? html/Css

Tel: (space) 07065785545

22nd May 2020, 11:29 AM
Phantom
Phantom - avatar
6 Answers
+ 1
Do not provide your personal details on an online platform as they can be misused
22nd May 2020, 11:30 AM
Abhay
Abhay - avatar
+ 1
U can use float for this purpose ex: <span style="float:left;">Tel:</span> <span style="float:right;">0123456789</span>
22nd May 2020, 11:38 AM
Ayush Kumar
Ayush Kumar - avatar
+ 1
Just make a parent div with css .parent { display: flex; justify-content: space-between; } https://code.sololearn.com/WKIj9gQqkRw4/?ref=app
22nd May 2020, 12:41 PM
Calviղ
Calviղ - avatar
+ 1
Float can be use for your problem
24th May 2020, 10:44 AM
Mukesh tak
Mukesh tak - avatar
0
Wow seems like this ones better. Thanks
23rd May 2020, 11:12 AM
Phantom
Phantom - avatar
- 1
Thanks
22nd May 2020, 11:41 AM
Phantom
Phantom - avatar