Testing to see If I'm good enough with HTML to show my image

Page 1 of 1 [ 11 posts ] 

Redemption
Emu Egg
Emu Egg

User avatar

Joined: 10 Jun 2009
Age: 29
Gender: Male
Posts: 4

04 Sep 2009, 4:14 pm

Well If someone could give me help with my HTML so my image will come up please Tell me.


_________________
<img height="90" width="120" Socialsim.jpg">
Demoralize the enemy from within by surprise, terror, sabotage, assassination. This is the war of the future.
Adolf Hitler
The death of one man is a tragedy. The death of mill


Fayed
Toucan
Toucan

User avatar

Joined: 24 Sep 2007
Age: 39
Gender: Male
Posts: 286

04 Sep 2009, 7:22 pm

iirc HTML code is off on these boards, so you will have to use BBCode. Not 100% sure what that code would look like, havent used it in a while.

That being said i see a lonely " at the end with no" before it. Maybe that's causing issues.



duke666
Deinonychus
Deinonychus

User avatar

Joined: 8 Aug 2009
Age: 71
Gender: Male
Posts: 381
Location: San Francisco

04 Sep 2009, 7:40 pm

You can't put a jpg in your signature. Only the avatar. I read that somewhere here.


_________________
"Yeah, I've always been myself, even when I was ill.
Only now I seem myself. And that's the important thing.
I have remembered how to seem."
-The Madness of King George


sefer
Snowy Owl
Snowy Owl

User avatar

Joined: 12 Aug 2009
Gender: Male
Posts: 127

04 Sep 2009, 10:30 pm

You can't put an image, or HTML in your signature, you can only put it in your avatar:
http://www.wrongplanet.net/forums-profi ... ofile.html


Also the HTML is wrong, it's supposed to look like this:

Quote:
<img height="90" width="120" src="Socialsim.jpg">


But first you would have to upload the picture to a website like imageshack or photobucket, so it would end up looking like this:

Quote:
<img height="90" width="120" src="http://img44.imageshack.us/img44/3550/Socialsim.jpg">


And I think you spelled Socialism wrong.



Last edited by sefer on 05 Sep 2009, 12:12 am, edited 1 time in total.

mitharatowen
Veteran
Veteran

User avatar

Joined: 21 Oct 2008
Gender: Male
Posts: 3,675
Location: Arizona

04 Sep 2009, 10:32 pm

I :heart: HTML

and CSS
and ASP.NET/VB

javascript is neat.

.. java not so much :P



Keith
Veteran
Veteran

User avatar

Joined: 12 Aug 2008
Age: 42
Gender: Male
Posts: 2,321
Location: East Sussex, UK

05 Sep 2009, 1:36 am

If that's how the filename is spelt, it's correct. Signatures with images are not allowed on this forum



matt
Veteran
Veteran

User avatar

Joined: 20 Dec 2007
Gender: Male
Posts: 921

05 Sep 2009, 10:13 am

sefer wrote:
You can't put an image, or HTML in your signature, you can only put it in your avatar:
http://www.wrongplanet.net/forums-profi ... ofile.html


Also the HTML is wrong, it's supposed to look like this:
Quote:
<img height="90" width="120" src="Socialsim.jpg">


But first you would have to upload the picture to a website like imageshack or photobucket, so it would end up looking like this:

Quote:
<img height="90" width="120" src="http://img44.imageshack.us/img44/3550/Socialsim.jpg">


And I think you spelled Socialism wrong.
The height and width attributes can be left out since they're automatically detected, but the "alt" attribute is required. It is for text to display if the image doesn't load. It can be left empty, but it has to be included for the code to be proper HTML.

And if you were using XHTML, every opening tag has to either have a corresponding closing tag or to end with a slash.

In HTML, the code would be
Code:
<img src="http://img44.imageshack.us/img44/3550/Socialsim.jpg" alt="">


In XHTML, the code would be
Code:
<img src="http://img44.imageshack.us/img44/3550/Socialsim.jpg" alt="" />



SabbraCadabra
Veteran
Veteran

User avatar

Joined: 21 Apr 2008
Age: 42
Gender: Male
Posts: 7,822
Location: Michigan

05 Sep 2009, 12:58 pm

BBCode would be [ img ] (URL) [/ img ] (without the spaces)

But like others said, images in the sig are not allowed.

matt wrote:
The height and width attributes can be left out since they're automatically detected...


Personally, I like to put them in when I can, so the webpage will be the proper size whether or not the images load.


_________________
I'll brave the storm to come, for it surely looks like rain...


sefer
Snowy Owl
Snowy Owl

User avatar

Joined: 12 Aug 2009
Gender: Male
Posts: 127

06 Sep 2009, 9:00 am

Personally I never use the height and width attributes, I just left them in from the OP's signature, and as for the alt attribute, the image will load fine without it in any modern browser.



matt
Veteran
Veteran

User avatar

Joined: 20 Dec 2007
Gender: Male
Posts: 921

06 Sep 2009, 2:20 pm

Images will load fine without the alt attribute, but it's required as part of the html specification.



pakled
Veteran
Veteran

User avatar

Joined: 12 Nov 2007
Age: 68
Gender: Male
Posts: 7,015

06 Sep 2009, 11:59 pm

Not being able to post pics without having to go around my kneecap to get to my thumb is one of the few complaints I have for the site...;)

If you use photobucket, you can copy and paste the direct link, and that will work...