How Can I write one sentence in left and one sentence in right in same row.?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How Can I write one sentence in left and one sentence in right in same row.??

29th Nov 2016, 7:12 PM
Venkat Kuppala
Venkat Kuppala - avatar
5 Answers
+ 4
You can try this: <!DOCTYPE html> <html> <head> <title>Test</title> </head> <body> <div style="float:left;">Title</div> <div style="float:right;">Context</div> </body> </html>
29th Nov 2016, 7:43 PM
Miguel Suazo
0
make a table; open the tr block to begin the row, then use two td (columns). left justify one, and right justify the other
29th Nov 2016, 7:27 PM
Tom
Tom - avatar
0
i want to write like this.. not in table. This is a text this is also a text
29th Nov 2016, 7:41 PM
Venkat Kuppala
Venkat Kuppala - avatar
0
Miguel's got it
29th Nov 2016, 7:47 PM
Tom
Tom - avatar
0
you can do it with align
30th Dec 2016, 10:17 AM
Mahdi Heydari
Mahdi Heydari - avatar