HTML file link code

windows

Guest
I really need help finding a code that i can create a link from my site to mp3 files saved on the server. I really suck at html, so if you can help me, i'd appreciate it. <br />
ryan cox<!--content-->P.S. <br />
If anyone also has a code for inserting pictures (with position coding) i would appreciate that too!<br />
ryan<!--content-->If you want to link to an mp3 then do this:<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"abc.mp3">abc.,mp3</a><br />
<br />
Alternatively you can link to a page with an mp3 embedded in it. To embed something do this:<br />
<br />
<embed src=http://www.webdeveloper.com/forum/archive/index.php/"abc.mp3" width="x" height="y" autostart="false"><br />
<br />
It is not neccesary to include the width, height or autostart attributes but I did include them just so you know about them.<br />
<br />
<br />
To put an image on page and position it you can do this:<br />
<br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"def.gif" style="position:fixed;top:100px;left:50%;"><br />
<br />
You can use px or % for units. px means pixels and % refers to the percentage width/height of the page. You can also replace top with bottom, and left with right.<br />
<br />
You can also replace fixed with absolute to position it relative to it's parent element.<!--content-->Thanks partner.. i really appreciate your help.<br />
THIS IS THE BEST SITE EVER! you guys rock<br />
ryan<!--content-->Also note the image tag should also include the width and height of the image so as it loads the page is already spaced out properly instead of it shiftting around as an image loads. Plus, adding in the "alt" attribute is good incase the image doesn't show up.<!--content-->I also use the title attribute in all of my links and images when I use them.<br />
<br />
Hey spufi, what happened to your post count? It's dropped down into the 300's.<!--content-->Originally posted by lavalamp <br />
I also use the title attribute in all of my links and images when I use them.<br />
<br />
Hey spufi, what happened to your post count? It's dropped down into the 300's. <br />
<br />
It's been down in the 300 range for a while and I can't really call if it was higher, so I don't know.<!--content-->Two things to point out... Adding the alt attribute is not only good and the right thing to do, as spufi said, but it is also required. It is not an optional attribute.<br />
<br />
And number 2, the title attribute is not the alt attribute, so just because you include title is no excuse to leave out alt.<!--content-->also useas in, along with, in conjuction with etc. I don't leave alt out.<!--content-->Missed those two words... ;)<!--content-->That's OK. Sometimes I miss out whole posts. :o<!--content-->lol... :D Yep, been there, done that...<!--content-->Alt tag is one of the few W3 rules I agree with. <br />
<br />
However some are stupid, and I've decided if Macromedia don't want to follow it, and neither do many of the main companies, I don't really care to follow it either.<!--content-->Originally posted by gavinnet <br />
However some are stupid, and I've decided if Macromedia don't want to follow it, and neither do many of the main companies, I don't really care to follow it either. Sucks to be a disabled viewer of your site... :(<!--content-->On some of my sites I guess it would be, but I follow Macromedia standards, after being at the BETT show I have piles and piles of white paper on Accesiblilty in HTML, in Flash, in images etc..<br />
<br />
Though when I was speaking with Mark Green (education manager) he reckoned some people were taking it to far by trying to make sites that worked fine for fully blind people for example. <br />
<br />
I really don't mean any offence when I say this, but you dont get many blind people surfing the net, and in the business world people tend to aim at the majority rather than the miniroty because thats where the money is.<br />
<br />
On this site idea <!-- m --><a class="postlink" href="http://forums.webdeveloper.com/showthread.php?threadid=16897">http://forums.webdeveloper.com/showthre ... adid=16897</a><!-- m --> it is something we will work on i guess though.<!--content-->Also, accessablility isn't the only reason to use valid markup. Try forward compatability, or page weight (saves bandwidth). How about cleaner markup/readablility. Or, say you have to modify an existing site, would you rather have it use valid code, or have <font> and other depreciated tags nested to unacceptable levels? Try sorting out what the end results of 12 <font> tags in a row would be, or...<!--content-->I agree, I just dont think everything they suggest is needed at this time.<!--content-->
 
Back
Top