Maprex Posted April 20, 2010 Posted April 20, 2010 I have a problem with HTML. When i write at the notepad these commands like: <IMG SRC="../anyimage.gif"> or <BGSOUND SRC=".../blablabla.mp3"> at the browser doesnt happen nothing. Before someone tell that may i dont save the file, i tell you that i do it. I dont have any problem with the browser, maybe i use Opera the last version but i have and Google Chrome. Someone help me. I dont know if i write with a false way the commands or something else is going wrong. Quote
Sуѕтємƒяєαк Posted April 21, 2010 Posted April 21, 2010 well first of all use notepad++ ;) 2nd, make sure there is nothing wrong with the pic or sound you're putting and also that they are in the location you specified! and does this happen only with these 2 commands? Quote
Maprex Posted April 22, 2010 Author Posted April 22, 2010 I use notepad, the pics and the music dont have any problem. And yes at the whole commands that i have used until now, only these two have some problem. Quote
Sуѕтємƒяєαк Posted April 22, 2010 Posted April 22, 2010 I use notepad, the pics and the music dont have any problem. And yes at the whole commands that i have used until now, only these two have some problem. well better download notepad++ it will make you understand where is the prob! or you can send me the code to test it for you, whatever you want. Quote
HowHight Posted April 22, 2010 Posted April 22, 2010 you can open the html file with notepad or WordPad and Insert the HTML Code Quote
Maprex Posted April 23, 2010 Author Posted April 23, 2010 you can open the html file with notepad or WordPad and Insert the HTML Code I dont want to edit any other html file i try to make my own html files. Does the "View Source" shows you something? View Source??? I am newbie at website coding. Quote
Sуѕтємƒяєαк Posted April 23, 2010 Posted April 23, 2010 just post the code here so that it will be easier for us to help! Quote
Maprex Posted April 23, 2010 Author Posted April 23, 2010 just post the code here so that it will be easier for us to help! the codes that i use are <BGSOUND SRC=".../blabla.mpe"> and <IMG SRC=".../balbla.gif or jpg"> Quote
Hax0r Posted April 23, 2010 Posted April 23, 2010 is the mp3 saved at the same directory with .html file? also where exactly did you insert that tag? between <body> ... ... </body>? it should be placed on <head> ... <bgsound src="..."></head> I'm not sure but I think bgsound is a double tag. Quote
Blane Posted April 23, 2010 Posted April 23, 2010 I'm not sure but I think bgsound is a double tag. Nop, it's not. it should be placed on <head> ... <bgsound src="..."></head> Between the body tags you mean. View Source??? I am newbie at website coding. When you are in your browser, viewing your page, just press CTRL+U (in mac CMD+U). -Blane Quote
Hax0r Posted April 24, 2010 Posted April 24, 2010 Between the body tags you mean. Not according to this. Quote
d0ds™ Posted April 27, 2010 Posted April 27, 2010 this is your directory? folder: MyWeb MyWeb\index.html MyWeb\images\imagejpg MyWeb\sounds\bgsound.mp3 ??? index.html <body> change your code for img to <img src="images/image.jpg" /> change your bgsound code to <embed src="sounds/bgsound.mp3" visible="hidden" loop="yes" /> </body> <!-- Comment: this embed is embeding the sound with "hidden" it means only sound, change loop to "no" if you want the sound play once --> note: this code must compatible to all browser... ask me more if you have any question ^_^ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.