- Alignment is defined as parts of something that are in the proper position relative to the each other.
- In computer, alignment means placement of an element relative to the margin.
- Adjustment of text or image to a line.
Not aligned properly Aligned properly |
Types of Alignments :
1.Horizontal alignment.
2.Vertical alignment .
1.Horizontal Alignments :
- Left align means all lines starts from the same distance from left margin and ends at different distances from right margin.
Right Align:
- Right align means all lines starts from the different distance from left margin and ends at same distances from right margin.
Justify:
- Justify means all lines starts from the same distance from left margin and ends at same distances from right margin.
2.Vertical Alignments :
- Top align means aligning the data top to the margin.
Middle Align :
- Middle align means aligning the text or image center of the margin.
Bottom Align :
- Visually looking good.
- Easy to read.
- Less stress on Eyes.