Stian.......................

View previous topic View next topic Go down

Stian.......................

Post by Mike6453 on Tue Nov 23, 2010 9:59 am

Im using w3schools (epic website) to do html i know all basic like paragraphs and titles and heads but im having trouble..
i got a question :i have a pic saved in "mypictures" and i do this code and it dosent work the pic is called 111.jpg
Code:

<html>
<body>

<img src="111.jpg" width="750" height="563" />

</body>
</html>

the pictures dimentions are correct but it comes up with a little x in the corner when i test...
avatar
Mike6453
Kickass Poster

Number of posts : 217
Age : 21
Location : Birmingham,England
Job/hobbies : Java & HTML & CSS
Humor : Randomness
IGN's : --------

Points : 2856
Registration date : 2010-10-10

View user profile

Back to top Go down

Re: Stian.......................

Post by Bobby on Tue Nov 23, 2010 10:17 am

isn't it <img> </img>

_________________

Chimps once ruled the world, don't under estimate them!
avatar
Bobby
Administrator

Number of posts : 463
Age : 34
Location : Uk
Job/hobbies : Semi pro poker player,IT Nerd
IGN's : Fonzy82,HelĂ­x,Ennzo,Soleman,xSwiftx,Str1der,Mccnlight,Tomcat
Points : 3842
Registration date : 2009-01-02

View user profile

Back to top Go down

Re: Stian.......................

Post by Mike6453 on Tue Nov 23, 2010 10:21 am

Bobby wrote:isn't it <img> </img>
i tried that but it comes instead of a red "x" a little pic in the corner .
avatar
Mike6453
Kickass Poster

Number of posts : 217
Age : 21
Location : Birmingham,England
Job/hobbies : Java & HTML & CSS
Humor : Randomness
IGN's : --------

Points : 2856
Registration date : 2010-10-10

View user profile

Back to top Go down

Re: Stian.......................

Post by Stian on Tue Nov 23, 2010 2:27 pm

Mike, it is alot easier to have everything in the same folder, go on C: disk and make a folder name "website test" or so, then this will work:

Code:
<img src="111.jpg" width="750" height="563" />

You can also make a "Images" folder inside the folder "website test" then the code would be:

Code:
<img src="images\111.jpg" width="750" height="563" />

Else you have to write the direct location like this:

Code:
<img src="C:\Documents and Settings\Administrator\My Documents\My Pictures\111.jpg" width="750" height="563" />

Tell me if I have to be more specific :p


Last edited by Stian on Wed Nov 24, 2010 1:58 am; edited 1 time in total

_________________






- BloodiBow - 200 - Done/ (Boss/Sale mule) -

- Zeratho - 200 - Done (Boss/Sale mule) -

- Server -

Kradia
avatar
Stian
Administrator
ForumFounder

Number of posts : 830
Age : 23
Location : Norway
IGN's : BloodiBow, Zeratho
Points : 4146
Registration date : 2009-01-02

View user profile http://atomica.omgforum.net/

Back to top Go down

Re: Stian.......................

Post by MeowMaru on Tue Nov 23, 2010 7:38 pm

"x" refers to an unknown path, like Stian said you need to create a folder or direct path to the image to be able to show it.
avatar
MeowMaru
Kickass Poster

Number of posts : 386
Age : 29
Location : Netherlands
IGN's : Riserva, MeowMaru, Melabo
Points : 3140
Registration date : 2010-08-07

View user profile

Back to top Go down

Re: Stian.......................

Post by Stian on Wed Nov 24, 2010 2:24 am

Here is some webpage I just made in a few mins lol..

Spoiler:
Code:
<html>
<head>

<style type="text/css">
h1 {font-size: 40px; margin-top: 20px; color: white;}
body {background-color: #bc42df;}

</style>

</head>
<body>

<center>
<h1>Website for Mike<3</h1>
<hr />
<h2> This dude rox <3 </h2>
<img src="http://avatar1.mapleeurope.com/Character/NBMFLGPIHAPGNJNNGGKLDKKIJCEICJGAKOODHBJKGIBOEKHIKAMALJAPMFLNFMHOLOLAKMDPDCPBBBPGCMKGLAAGIDFODPFD.gif" alt="BloodiBow"/>
</center>
</body>
</html>

Paste in notepad, save as name.html and open it in any browser <3

_________________






- BloodiBow - 200 - Done/ (Boss/Sale mule) -

- Zeratho - 200 - Done (Boss/Sale mule) -

- Server -

Kradia
avatar
Stian
Administrator
ForumFounder

Number of posts : 830
Age : 23
Location : Norway
IGN's : BloodiBow, Zeratho
Points : 4146
Registration date : 2009-01-02

View user profile http://atomica.omgforum.net/

Back to top Go down

Re: Stian.......................

Post by Mike6453 on Wed Nov 24, 2010 4:56 am

i dont use notepad i use adobe dreamweaver... but about the images... so basicly it has to be in same folder as where the **.html is saved?
avatar
Mike6453
Kickass Poster

Number of posts : 217
Age : 21
Location : Birmingham,England
Job/hobbies : Java & HTML & CSS
Humor : Randomness
IGN's : --------

Points : 2856
Registration date : 2010-10-10

View user profile

Back to top Go down

Re: Stian.......................

Post by Mike6453 on Wed Nov 24, 2010 5:01 am

Stian wrote:Here is some webpage I just made in a few mins lol..

Spoiler:
Code:
<html>
<head>

<style type="text/css">
h1 {font-size: 40px; margin-top: 20px; color: white;}
body {background-color: #bc42df;}

</style>

</head>
<body>

<center>
<h1>Website for Mike<3</h1>
<hr />
<h2> This dude rox <3 </h2>
<img src="http://avatar1.mapleeurope.com/Character/NBMFLGPIHAPGNJNNGGKLDKKIJCEICJGAKOODHBJKGIBOEKHIKAMALJAPMFLNFMHOLOLAKMDPDCPBBBPGCMKGLAAGIDFODPFD.gif" alt="BloodiBow"/>
</center>
</body>
</html>

Paste in notepad, save as name.html and open it in any browser <3
i put this in to dreamweaver and loled

and im wondering u know when u do color u use the #***** for colors can u just type "red" instead of #FF0000
avatar
Mike6453
Kickass Poster

Number of posts : 217
Age : 21
Location : Birmingham,England
Job/hobbies : Java & HTML & CSS
Humor : Randomness
IGN's : --------

Points : 2856
Registration date : 2010-10-10

View user profile

Back to top Go down

Re: Stian.......................

Post by Stian on Wed Nov 24, 2010 5:49 am

yes, take a look at this: HTML Colornames (w3schools)

I don't suggest you to use dreamweaver as the codes can be messy, I were suggested to use Notepad++(Filehippo.com mirror) and I really like it.

_________________






- BloodiBow - 200 - Done/ (Boss/Sale mule) -

- Zeratho - 200 - Done (Boss/Sale mule) -

- Server -

Kradia
avatar
Stian
Administrator
ForumFounder

Number of posts : 830
Age : 23
Location : Norway
IGN's : BloodiBow, Zeratho
Points : 4146
Registration date : 2009-01-02

View user profile http://atomica.omgforum.net/

Back to top Go down

Re: Stian.......................

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum