Basic Html Coding. Difficulty: Intermediate |
| Category: FPSB > Scripting | Author(s): Killer_z02 |

Tutorial By: -=Killer_z02=-
This tutorial will teach you some codes to help make a basic website or edit your Uberstyle.
To start off you should type something like this:
<Html>
<Head>
<Title> Title of the Webpage</Title>
</Head>
<Body> Here is where you would put anything you would like. Ex. Text, Graphic art, Movie Clips, Etc.
</body>
</Html>
<Html> - Starts your document off in HTML format.
<Head> - Contains information about the page such as the title, tags, or JavaScript for special effects.
<Title> - The Title of your page. This will be visible in the title bar of the viewers’ browser.
</Title> - Ends the <Title> tag.
</Head> - Ends the <Head> tag.
</Body> - Ends the <Body> tag.
</Html> - Ends the <Html> tag.
Here are some HTML codes:
<A - anchor - <A HREF="http://www.yourdomain.com/"> Visit Our Site </A> Ex. Killer_z02's Profile
<B> - Bold - <B> Text Here. </B> Ex. Bold
<BIG> - Big (text) - <BIG> Text here. </BIG> Ex. BIG
<BR> - Line Break - The contents of your page <BR> The contents of your page.
<CENTER> - Center - <CENTER> This will center your text Ex. Center
<DD> - Definition Description
<DL> - Definition List
<DT> - Definition Term
<EM> - Emphasis - This is an <EM> Example</EM> of using the emphasis tag Ex. Emphasis
<EMBED> - Embed Object - <EMBED src="yourfile.mid" width="100%" height="60" align="center">
<EMBED> - Embed Object /w Autostart and Loop - <EMBED src="yourfile.mid" autostart="true" hidden="false" loop="false">
<noembed><bgsound src="yourfile.mid" loop="1"></noembed>
<FONT> - Font - <FONT FACE="Times New Roman"> Text </FONT> Ex. Font Style
Font w/ Size - <FONT FACE="Times New Roman" SIZE="4"> Text<:/FONT> Ex. Font Size
Font w/ Color and Size - <FONT FACE="Times New Roman" SIZE="+3" COLOR="#FF0000"> Font Color</FONT> Ex.Font Color
<FORM> - Form - <FORM action="mailto:you@yourdomain.com">
Name: <INPUT name="Name" value="" size="10"> <BR>
Email: <INPUT name="Email" value="" size="10"> <BR>
<CENTER> <INPUT type="submit"> </CENTER>
</FORM>
<H1> - Heading 1 - <H1> Text </H1> Ex. Heading 1
<H2> - Heading 2 - <H2> Text </H2> Ex.Heading 2
<H3> - Heading 3 - <H3> Text </H3> Ex.Heading 3
<H4> - Heading 4 - <H4> Text </H4> Ex.Heading 4
<H5> - Heading 5 - <H5> Text </H5> Ex.Heading 5
<H6> - Heading 6 - <H6> Text </H6> Ex.Heading 6
<HEAD> - Heading of HTML Document - <HEAD> Contains elements describing the document</HEAD>
<HR> - Horizontal Rule - <HR> Ex.
Other Horizontal Rule Codes:
<HR WIDTH="50%" SIZE="3">
<HR WIDTH="50%" SIZE="3" NOSHADE>
<HR WIDTH="75%" COLOR="Whatever Color" SIZE="4">
<HR WIDTH="25%" COLOR="Whatever Color" SIZE="6">
<HTML> - Hypertext Markup Language - <HTML> <HEAD> <META> <TITLE> Title of your web page</TITLE> </HEAD> <BODY>HTML web page contents</BODY> </HTML>
<I> - Italic - <I> Example</I> Ex. Example
<IMG> - Image - <IMG SRC="Earth.gif" WIDTH="41" HEIGHT="41" BORDER="0" ALT="a sentence about your web site">
<INPUT> - Input Field - Code:
<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
<INPUT type="text" size="10" maxlength="30">
<INPUT type="Submit" VALUE="Submit">
</FORM>
<INPUT> - Input Field - Code:
<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
<CENTER>
Select an option:
<SELECT>
<OPTION> option 1
<OPTION SELECTED> option 2
<OPTION> option 3
<OPTION> option 4
<OPTION> option 5
<OPTION> option 6
</SELECT><BR>
<INPUT type="Submit" VALUE="Submit"></CENTER>
</FORM>
<INPUT> - Input Field Code:
<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
Select an option:<BR>
<INPUT type="radio" name="option"> Option 1
<INPUT type="radio" name="option" CHECKED> Option 2
<INPUT type="radio" name="option"> Option 3
<BR>
<BR>
Select an option:<BR>
<INPUT type="checkbox" name="selection"> Selection 1
<INPUT type="checkbox" name="selection" CHECKED> Selection 2
<INPUT type="checkbox" name="selection"> Selection 3
<INPUT type="Submit" VALUE="Submit">
</FORM>>
<LI> - List Item - Code:
<MENU>
<LI type="disc"> List item 1
<LI type="circle"> List item 2
<LI type="square"> List item 3
</MENU>
Example 2:
<OL type="i">
<LI> List item 1
<LI>> List item 2
<LI>> List item 3
<LI>> List item 4
</OL>
Ex.
Example 2:
- List item 1
- List item 2
- List item 3
- List item 4
<MARQUEE> - Scrolling Text - <MARQUEE bgcolor="Whatever Color" loop="-1" scrollamount="2" width="100%"> Text </MARQUEE>
<SMALL> - Small (Text) - <SMALL> Example</SMALL>
ex.
Small
<STRONG> - Strong Emphasis - <STRONG> Example</STRONG>
Ex.
STRONG
Table Codes:
<TABLE BORDER="4" CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
<TR>
<TD>Column 1</TD>
<TD>Column 2</TD>
</TR>
|
<TABLE BORDER="2" BORDERCOLOR="Whatever Color" CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
<TR>
<TD> Column 1</TD>
<TD> Column 2</TD>
</TR>
</TABLE>
<TABLE CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
<TR>
<TD BGCOLOR="Whatever Color">Column 1</TD>
<TD BGCOLOR="Whatever Color">Column 2</TD>
</TR>
<TR>
<TD>Row 2</TD>
<TD>Row 2</TD>
</TR>
</TABLE>
Column 1 |
Column 2 |
Row 2 |
Row 2 |
<TT> - Teletype - <TT> Text</TT>
Ex.
Example