FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

HTML Tutorial.

 


HabPie
Okay, As I Said Im A Pixel Artist And Web Designer! This Is My First Tutorial (On The Forum)
Open Up Notepad (Start, All Programs, Accessories, Notepad)
Id Say Notepad Is The Best.
Ok So We Have Notepad Now Lets Start:
HTML Stands For Hyper Text Markup Language. It Is Used For Creating Websites. What I Like About HTML Is You Can Insert Javascript And CSS Into It.
Basic Stuff:
Titles And Body Text Just Insert This Code:
[HTML]<html>
<head>
<title>Title of page</title>
</head>
<body>
This is my first homepage. <b>This text is bold</b>
</body>
</html>[/HTML]
NOTE!: You MUST Remember That The File Needs To Be Saved As .htm Or .html
Images:
This Is So Easy!
[HTML]<img src="Image Url Here">[/HTML]
You Can Also Align By Inserting
[HTML]align="center, right, left Ect."[/HTML]Before The > Tag.
Links:
[HTML]<a href="Website/Link Url Here">[/html]
You Can Also Target The Link By Inserting:
[HTML]target="Your IFrame Name Here[/HTML]
You Need An IFrame On Your Page To Do This.
Backgrounds:
[HTML]<body bgcolor="#000000">
<body bgcolor="rgb(0,0,0)">
<body bgcolor="black">
[/HTML]
Either Of Them Work, Id Use The Bottom One. (Only Use Other Two If You Know How)
IFrames:
I Never Could Master These At First!
[HTML]<iframe src="home.htm" name="main" width="380" height="375" frameborder="0" allowtransparency="true"></iframe>[/HTML]
Thats A Simple IFrame With Allows Transparency And Has A Frameborder.
Entities:
non-breaking space &nbsp;
< less than &lt; <
> greater than &gt; >
& ampersand &amp; &
" quotation mark &quot; "
' apostrophe &apos; (does not work in IE) '

Some Other Commonly Used Character Entities:
Result Description Entity Name Entity Number
¢ cent &cent; ¢
£ pound &pound; £
¥ yen &yen; ¥
§ section &sect; §
© copyright &copy; ©
® registered trademark &reg; ®
× multiplication &times; ×
÷ division &divide; ÷
Forms:
Input: Text Fields.
[HTML]<form>
First name:
<input type="text" name="firstname">
<br>
Last name:
<input type="text" name="lastname">
</form>
[/HTML]
Input: Radio
[HTML]<form>
<input type="radio" name="sex" value="male"> Male
<br>
<input type="radio" name="sex" value="female"> Female
</form>[/HTML]
Input Checkbox:
[HTML]<form>
I have a bike:
<input type="checkbox" name="vehicle" value="Bike" />
<br />
I have a car:
<input type="checkbox" name="vehicle" value="Car" />
<br />
I have an airplane:
<input type="checkbox" name="vehicle" value="Airplane" />
</form>[/HTML]
The Forms Action And Attribute Button:
[HTML]<form name="input" action="html_form_action.asp"
method="get">
Username:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>[/HTML]
And Thats The End Of My Beginners HTML Guide! I Hope You Learned Something. If You Have A Question Please Post Here.
MadWolf
Cool, thank you
ncwdavid
You should use
Code:
[code]CODE HERE[/code]
to post code. You must have gotten a good 4 Frih for that one.
HabPie
Razz

Im Just Used To [HTML] And [/HTML]
minik
Cool Tutorial. Nicely presented. I suggest you go back and edit out all of the [HTML]'s and replace them with [CODE]s.
Dougie1
Please change it to the following. It looks very un-neat the way you have it and also makes me wonder if you copied it from another site. No I will keep an open mind. You must have written it for another site and then used it here...

Code:
Okay, As I Said Im A Pixel Artist And Web Designer! This Is My First Tutorial (On The Forum)
Open Up Notepad (Start, All Programs, Accessories, Notepad)
Id Say Notepad Is The Best.
Ok So We Have Notepad Now Lets Start:
HTML Stands For Hyper Text Markup Language. It Is Used For Creating Websites. What I Like About HTML Is You Can Insert Javascript And CSS Into It.
Basic Stuff:
Titles And Body Text Just Insert This Code:
[code]<html>
<head>
<title>Title of page</title>
</head>
<body>
This is my first homepage. <b>This text is bold</b>
</body>
</html>[/code]
NOTE!: You MUST Remember That The File Needs To Be Saved As .htm Or .html
Images:
This Is So Easy!
[code]<img src="Image Url Here">[/code]
You Can Also Align By Inserting
[code]align="center, right, left Ect."[/code]Before The > Tag.
Links:
[code]<a href="Website/Link Url Here">[/code]
You Can Also Target The Link By Inserting:
[code]target="Your IFrame Name Here[/code]
You Need An IFrame On Your Page To Do This.
Backgrounds:
[code]<body bgcolor="#000000">
<body bgcolor="rgb(0,0,0)">
<body bgcolor="black">
[/code]
Either Of Them Work, Id Use The Bottom One. (Only Use Other Two If You Know How)
IFrames:
I Never Could Master These At First!
[code]<iframe src="home.htm" name="main" width="380" height="375" frameborder="0" allowtransparency="true"></iframe>[/code]
Thats A Simple IFrame With Allows Transparency And Has A Frameborder.
Entities:
non-breaking space &nbsp;
< less than &lt; <
> greater than &gt; >
& ampersand &amp; &
" quotation mark &quot; "
' apostrophe &apos; (does not work in IE) '

Some Other Commonly Used Character Entities:
Result Description Entity Name Entity Number
¢ cent &cent; ¢
£ pound &pound; £
¥ yen &yen; ¥
§ section &sect; §
© copyright &copy; ©
® registered trademark &reg; ®
× multiplication &times; ×
÷ division &divide; ÷
Forms:
Input: Text Fields.
[code]<form>
First name:
<input type="text" name="firstname">
<br>
Last name:
<input type="text" name="lastname">
</form>
[/code]
Input: Radio
[code]<form>
<input type="radio" name="sex" value="male"> Male
<br>
<input type="radio" name="sex" value="female"> Female
</form>[/code]
Input Checkbox:
[code]<form>
I have a bike:
<input type="checkbox" name="vehicle" value="Bike" />
<br />
I have a car:
<input type="checkbox" name="vehicle" value="Car" />
<br />
I have an airplane:
<input type="checkbox" name="vehicle" value="Airplane" />
</form>[/code]
The Forms Action And Attribute Button:
[code]<form name="input" action="html_form_action.asp"
method="get">
Username:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>[/code]
And Thats The End Of My Beginners HTML Guide! I Hope You Learned Something. If You Have A Question Please Post Here.
frugo
This tutorial is very sort and simple Smile
aningbo
the tutorial is short and simple yet so unorganised. a little changes here and there before posting will be awesome post. there's nothing in html. just learn the above code and anyone's ready to go.

I appreciate ur effort dude. thats a lot of work if thats done by you. bt do make some efforts when posting too lolz.
mariohs
There's already lots of html tutorial topics

-closed-
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.