Jump to User:

myOtaku.com: Cherri


Saturday, February 5, 2005


HTML Lesson #2
Now I'm going to teach you guys tables! With tables you can align text or images right beside each other. Like this:





Here's some text. See? There are words over there --> too!
Text over here too! Lookie <-- over there!


That's a table. The code:





TEXT HERE



The tag

is the beginning of the table. The . Once you're finished with a row, close it with this tag: . Close the whole table with this tag:
tag is the row in the table. is a induvidual cell in each row. You can put the tag as many times as you want but remember to close the tag when you finished putting in the information by putting this tag in:
. There's a more advanced table tutorial here.


Last part of today's tutorial is how to align images by text. See how my avatar is aligned so the text is right beside it? Here's the code:


>



TEXT HERE


That's it! Just replace IMAGE URL, and each # with the width and height of your image. If you're going to use this with your posts, you don't have to add it each time you add an post. Just go to "Post Styles" in the backroom and place to table code in and replace TEXT HERE with $body$.

~Cherri | Sprinkle Starr


Comments (5)

« Home