how do you put the text in html as aligned left or justified? my text keeps remaining on the center idk why
i tried closing the center function already...the </center> thingy..nothing
Like This. Notice the use of the div tags. <body> <div align="left"><p>Text Left Aligned</p> <div align= "center"><p>Text Left Aligned</p> <div align="right">Text Aligned Right</p> </div></div> </body>
You may use this lgba: <html> <head> <title>Blah</title> <style type="text/css"> input { text-align:right; } </style> </head> <body> <input type="text" value="2"> </body> </html> Note: style = "text-align: right" This will allow the text to align right justified..
@Jeet.in why are there two </div>? @waterineyes where do i write the text there?
sorry missed one
Join our real-time social learning platform and learn together with your friends!