First off, HTML is different than BB code. BB code is something somewhat similar to HTML used on message boards, like this one.
Ok, I know there is already a topic with the tag list, but it is a lot more easy to have a tutorial, or have someone explane it. HTML is very easy to use, and learn, but you can't start off with frames etc... so i'll start you guys (if anyone reads this) off with the basics.
First off, a tag will always begin with a less sign: < and end with a greater sign: > an example would be the tag used to bold text. <B> You would place this before the text you want to bold. This is an opening tag, which begins the operation you wish to perform. In order to end the bolding, you must use a closing tag. A closing tag will always be the same as the opening tag, but will have a forward slash before the command, like this: </B> So, if you would like to bold the phrase "IF Rocks!" you'd right the following:
<B>IF Rocks!</B>
The Effect would be:
IF Rocks! (sorry if it seems like i'm sucking up)
Other simple necicary tags are:
<U></U> (Underline) example
<I></I> (Italicise) example
<STRIKE></STRIKE> (Strike... what'd you think it did?) Example
Or, if your feeling really daring, you can use two at once!
<B><I>Look Mom! I'm Bold AND Italisized!</I></B>: That would make:
Look Mom! I'm Bold AND Italisized!
Of course, <B><I>Look here I</I> look cool</B> would make
Look here I look cool
Fun, eh?
Not all tags will require a closing tag. An example would be the image tag, which will place an image on the page. It looks like this: <IMG SRC="myimage.gif">. But I don't want to get into that untill i've gotten farther along.
Another thing to remember, is you don't have to capitalize the tags. <U> Is the same as <u> You can also put as much space in between the tag and the text as you would like. Example:
is the same as
is the same as
<HTML>
<HEAD>
<TITLE>I Love HTML</TITLE>
</HEAD>
<BODY>
Everything displayed on your page will be in here.
</BODY>
</HTML>
What do you think that code does?
Okay, to make this simple, go through and find the pairs of opening and closing tags. The first one we see is <HTML>. This signals the beginning of an HTML file. The closing tag , </HTML>, is at the very end of the document. As you might have guessed, it signals the end of the HTML document. Everything (tags, text, images) should be between these two tags, as they are the beginning and end of your page.
The next tag is the <HEAD> tag. This opens a section where you can title your page, use keywords, and add other descriptive information to the page. The section ends with the </HEAD> tag. At this time, the only part of the HEAD section we will deal with is the TITLE, which brings us to the next tag.
The <TITLE> does what you think, It makes a title for your page. The title is only used for bookmarks, search engines, and as the name of the browser window. It will not show up on your web page unless you type it in the BODY section. (which I will explane below). To end your title, use the </TITLE> tag. For instance, in the example, the title is "I Love HTML".
The <BODY> tag opens the section that will be displayed in the web browser. To end the body section, use </BODY>.
Ok, then there is the <center> Tag, which I should say right now, everyone on IF should know, since it's great to use before and after banners, that way it centers your banner, so it's not off to the left. It also works with text.
That's about it. For the basics.
Spurius :)
thanks spurius.. you helped a lil child here..
Ah, my brain is glad you cleared that up! :P
so we can just post a bunch of HTML lessons on here? w00t!
Nice job, spurius, but I alredy printed out almost all HTML and Javascript lessons from Pagesource website