How do I center, left, or right justify text or an image?
This is the center tag and what is does. This can be used with text, or the image tag that was gone over in Chapter 3. The
tag: Center Align The code:
Center Align
Note: You can left and right justify using the same type of align attributes in the
tag. The following are a few examples… Right Align The code:
Right Align
Left Align The code:
Left Align
The other ways to center, right or left align text, without adding a table, are by using the
tag and the
tag. See some examples below: Using the div tag
: Center Align The code:
Right Align The code:
Left Align The code:
Using the paragraph tag <
Related Questions
- Is it just a blanking plate so that the same center console can be used in left and right hand drive vehicles that have the parking brake on opposite sides?
- When I take print outs of the converted document, the text gets truncated from the left and right margins. How can I make sure this does not happen?
- Can I center or right justify multiple lines of text on DVD or CD insert?