what is align? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is align?

31st Jan 2017, 5:28 AM
symjupith
symjupith - avatar
5 Answers
+ 3
align is stands for Alignment in HTML.
13th Feb 2017, 10:40 AM
BBBB Ghh GgBB
+ 2
Use Css 'text-align' instead, and avoid if possible ( meaning at production ) set it inlined to the tag element ^^ - 'align' attribute is deprecated in Html5 - inlined style declaration are to be reserved mainly to dynamic use through JS, or for draft steps, in order to preserve separation of type of contents ( datas/model, styles/display/view, and scripts/controllers )... <!DOCTYPE html> <html> <head> <title></title> <style> #myP { text-align:right; } </style> </head> <body> <p id="myP">Text of the paragraph section.</p> </body> </html>
31st Jan 2017, 10:57 AM
visph
visph - avatar
+ 1
It is if you want some text in the centre right or left below is for the centre <div align="center"> Text here </div>
31st Jan 2017, 5:49 AM
Blake
+ 1
if you are using simple notepad or wordpad then you can also use <p align="right" > the text you want to print right side </p> or the tag Blake told. you can use this tag to align pictures, tables etc.
31st Jan 2017, 10:24 AM
P D
P D - avatar
0
attribute that gives you option to place the text either at the centre right or left
10th Feb 2017, 2:35 PM
Moses Ouma
Moses Ouma - avatar