PGF Gamers
Hi, and thanks for visiting =D

Login to post in forums and become more than a member!

Please wait a moment for the chatbox to load ;D
PGF Gamers
Hi, and thanks for visiting =D

Login to post in forums and become more than a member!

Please wait a moment for the chatbox to load ;D
PGF Gamers
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Where the fun begins!
 
Homedead forum =(SearchLatest imagesRegisterLog in
!!!!I am considering a full site overhaul to re-do everything. I will discuss with the other staff. If it happens the forum may go down for a day or two-Trevor!!!!

 

 HTML tutorial #2- adding images/ fun with pictures

Go down 
AuthorMessage
t0ph4x0r
Lieutenant
Lieutenant



Number of posts : 6
Age : 33
ranking : 5578
forum activity : 0
Registration date : 2009-02-01

HTML tutorial #2- adding images/ fun with pictures Empty
PostSubject: HTML tutorial #2- adding images/ fun with pictures   HTML tutorial #2- adding images/ fun with pictures EmptySun Feb 01, 2009 7:52 am

Hello, my name is Cole Snydle. In my tutorials i will be using a mixture of PHP and HTML. One of my favorite hosts (a host is what you "host" your website on) is http://www.freehostia.com/. The good thing about Freehostia is that you can code from the site and you can host PHP and MySql. now just open up "Notepad", always and we will begin the tutorial.

In my last tutorial you made a black web page with a heading, now were gonna have some fun with images (AKA pictures)

so lets take the final code from last tutorial and we'll continue from there.




[glow=red,2,300]Original[/glow]
Code:

<html>
<body>
<BODY bgcolor="black">
<h1><font color="red">HTML tutorial #1</font></h1>
</body>
<html>


So lets add an image. now in freehostia, you just save an image from the internet, upload it, and type the image name in the quotes. i will explain both scenarios.



Scenario 1 - freehostia

Now lets say that you uploaded a picture to freehostia called "vida_guerra.jpeg", you bould use the code as following:


Code:
<img src="vida_guerra.jpeg">

now lets add that to the main block of code, and set it down a few lines using line breaks ( <br> ).



Code:

<html>
<body>
<BODY bgcolor="black">
<h1><font color="red">HTML tutorial #1</font></h1>
<img src="vida_guerra.jpeg">
</body>
<html>



Scenario 2 -From the internet

Now lets say you found a picture on photobucket, im using photobucket as an example because it has a perfect feature were it has the "direct link" of the photo. example- "https://2img.net/h/i217.photobucket.com/albums/cc1/estefani84/Stewie_Griffin.gif", no we just type the code and put that link in the quotes




Code:

<html>
<body>
<BODY bgcolor="black">
<h1><font color="red">HTML tutorial #1</font></h1>
<img src="http://i217.photobucket.com/albums/cc1/estefani84/Stewie_Griffin.gif">
</body>
</html>



And now you have an image, lets go a little bit farther in to images, how bout you set an image as a link? here, ill show you the individual code then add it to the main block of code.

Code:
<a href="http://www.bounty-wars.co.nr/">
<img border="0" src="http://i217.photobucket.com/albums/cc1/estefani84/Stewie_Griffin.gif" width="65" height="38">
</a>


Oh, i almost forgot, you can use Marquee to make things scroll across the screen.

Code:
<marquee><font color="maroon">Hey, this is marquee</font></marquee>




[glow=red,2,300]final block of code[/glow]

Code:

<html>
<body>
<BODY bgcolor="black">
<h1><font color="red">HTML tutorial #1</font></h1>
<a href="http://www.bounty-wars.co.nr/">
<img border="0" src="http://i217.photobucket.com/albums/cc1/estefani84/Stewie_Griffin.gif" width="65" height="38">
</a>
<marquee><font color="maroon">Hey, this is marquee</font></marquee>
</body>
</html>


And there you have it, this is the product so far:

HTML tutorial #2- adding images/ fun with pictures Photobucket
Back to top Go down
 
HTML tutorial #2- adding images/ fun with pictures
Back to top 
Page 1 of 1
 Similar topics
-
» HTML tutorial #1- base of a website
» HTML tutorial 3 - minor tweaks/ just for fun
» HTML/PHP tutorial #4 - password protect a page
» HTML tutorial #5 - select boxes and radio buttons
» Adding fonts (first ever video made by me)

Permissions in this forum:You cannot reply to topics in this forum
PGF Gamers :: Computers and Internet :: Building websites :: HTML-
Jump to: