Atomica Maplestory
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

4 posters

Go down

Stian....................... Empty Stian.......................

Post by Mike6453 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...
Mike6453
Mike6453
Kickass Poster

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

Points : 5206
Registration date : 2010-10-10

Back to top Go down

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

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

isn't it <img> </img>
Bobby
Bobby
Administrator

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

Back to top Go down

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

Post by Mike6453 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 .
Mike6453
Mike6453
Kickass Poster

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

Points : 5206
Registration date : 2010-10-10

Back to top Go down

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

Post by Stian 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
Stian
Stian
Administrator
ForumFounder

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

http://atomica.omgforum.net/

Back to top Go down

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

Post by MeowMaru 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.
MeowMaru
MeowMaru
Kickass Poster

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

Back to top Go down

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

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

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

Spoiler:

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

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

http://atomica.omgforum.net/

Back to top Go down

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

Post by Mike6453 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?
Mike6453
Mike6453
Kickass Poster

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

Points : 5206
Registration date : 2010-10-10

Back to top Go down

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

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

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

Spoiler:

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
Mike6453
Mike6453
Kickass Poster

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

Points : 5206
Registration date : 2010-10-10

Back to top Go down

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

Post by Stian 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.
Stian
Stian
Administrator
ForumFounder

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

http://atomica.omgforum.net/

Back to top Go down

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

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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