View Full Version : HTML basics


Moonlit
08-21-2003, 06:31 AM
I apologize if this information is in Lissa's site somewhere already, but I didn't find it and I'm pretty sure I've read most of her tutorials. (Apologies in advance if I'm wrong.)

I'm trying to use notepad to do my pages...and I just don't understand what all this means....

What are these? And where do they go? And how do I use them?

<TBODY> (is that text body?)
<TD>

And...how do I write code to place an image? I saw something like "img src="imagename"...but I don't know if that's right or how to use it.

And...where in my HTML do I place things like DIV codes, CSS codes...things like that?

I'm just confused in general I guess!
Thank you for the help!

cinnimine41
08-21-2003, 06:40 AM
To add an image you use
<img src="your filename.gif (or .jpg)" width="yourwidth" height="yourheight" alt="my image name">

to center you can use
<div align="center"><img src="your filename.gif (or .jpg)" width="yourwidth" height="yourheight" alt="my image name"></div>

These codes were both found in HTML section 3. You usually place CSS codes at the top (for the code for external style sheet) or have a page called text.css/mycss.css/whatever.css and you usually place the div codes where you want your text to go unless stated otherwise. I hope that helped you some! PM me if ya have anymore questions.

rwllms15
08-21-2003, 12:51 PM
CSS input codes goes in between the <head></head> tags.

Information output such as DIVs, Ps, STRONG, IMG, and TABLE go in between the <body></body> tags.

Also, don't PM someone just for help. Post on the boards like you did this time so people can have more of a chance in assisting you.

pb&j
08-21-2003, 03:50 PM
tbody stands for table body. it is a more complex tag that is used in tables and you should understand basic tables before going into this one.

td stands for table data. it is an ordinary table cell.

images are coded onto a webpage with a code similar to this...
<img src="imagename.gif">
try doing a search on lissas site for img and you should find the correct page it is listed on for further details.

div codes are like a container. they hold a batch of text or images or whatever. you can then use some css positioning to place them wherever on your webpage you want them.

css codes are found in 3 places. on an external seperate page, in the HEAD area of the current webpage, and/or in the coding tags themselves.