MMDT1021 Chapter 2 Notes - page 3
Code | Page |
---|---|
The old way:
The new HTML5 way: <p style="text-align: center;">Aligns text to the center.</p> <p style="text-align: justify;">Justifies text.</p> <p style="text-align: left;">Normal left alignment. No need to specify.</p> <p style="text-align: right;">Aligns text to the right.</p> |
Result Source |
See this again with more text in the paragraphs.
Saving Your Web Page
|
Viewing Your Web Page |