Help With Html

i need help adding a picture...

Page 1 of 1

7 Replies - 1390 Views - Last Post: 13 January 2005 - 11:00 AM

#1 hollisterhotti88  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 13-January 05

Help With Html

Posted 13 January 2005 - 10:26 AM

I need help adding a picture to a website using HTML! PLEASE HELP!!!
Is This A Good Question/Topic? 0
  • +

Replies To: Help With Html

#2 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4424
  • View blog
  • Posts: 28,355
  • Joined: 21-March 01

Re: Help With Html

Posted 13 January 2005 - 10:27 AM

<img src="filename" />


edit: is that what you need, or do you need a little bit more 'in depth' of an explanation? what do you have so far?
Was This Post Helpful? 0
  • +
  • -

#3 snoj  Icon User is offline

  • Married Life
  • member icon

Reputation: 84
  • View blog
  • Posts: 3,564
  • Joined: 31-March 03

Re: Help With Html

Posted 13 January 2005 - 10:36 AM

The / in Sloth's example is only needed for XHTML.

Don't forget the alt="a description" in there either. You won't have valid HTML otherwise. ;)
Was This Post Helpful? 0
  • +
  • -

#4 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4424
  • View blog
  • Posts: 28,355
  • Joined: 21-March 01

Re: Help With Html

Posted 13 January 2005 - 10:41 AM

there is no reason not to put the / it still clears in all browsers and prepares the programmer for future xhtml and xml formatting, even going as far as inline processed code like coldfusion, it's just good form to make sure everything from img's to br's have a closing tag.
Was This Post Helpful? 0
  • +
  • -

#5 indianawebdesigns  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 12-January 05

Re: Help With Html

Posted 13 January 2005 - 10:45 AM

hotsnoj, on Jan 13 2005, 10:36 AM, said:

The / in Sloth's example is only needed for XHTML.

Don't forget the alt="a description" in there either. You won't have valid HTML otherwise. ;)

Is it valid HTML without the size dimensions ?? I realize that it loads quicker with the size stated, but is it invalid without ?? I've seen this type of deabate rage on and on in other places...
Was This Post Helpful? 0
  • +
  • -

#6 SpongeC  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 17-December 04

Re: Help With Html

Posted 13 January 2005 - 10:57 AM

Yes, it's valid without dimensions and it doesn't load quicker without them. It just renders quicker!
Was This Post Helpful? 0
  • +
  • -

#7 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Help With Html

Posted 13 January 2005 - 10:58 AM

hotsnoj, on Jan 13 2005, 12:36 PM, said:

The / in Sloth's example is only needed for XHTML.

Don't forget the alt="a description" in there either. You won't have valid HTML otherwise. ;)

If you adhere to the W3C standards, XHTML is the future, the closing / will pass. An definitely don't forget the description, otherwise you wouldn't be able to give W3C free publicity by putting those validator images on your web page.
Was This Post Helpful? 0
  • +
  • -

#8 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1858
  • View blog
  • Posts: 20,275
  • Joined: 17-March 01

Re: Help With Html

Posted 13 January 2005 - 11:00 AM

*feels left out*

Ummm... uhhhh... yeh, without the alt tag it's not 508 compliant... so THERE!!!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1