sankar_bhatta Posted February 15, 2007 Share Posted February 15, 2007 HIwe use "src" in <img> tag and in <frame> tag. If i want to assign a html file or .jpg to this "src" element, what should i write. can i write src = "c/documents and settings/desktop/image.jpg". How do i inlcude files in the local pc.thankssankar Link to comment Share on other sites More sharing options...
Maggy Posted February 15, 2007 Share Posted February 15, 2007 Hi, line 'src="C:/...."' works only locally and it won't work if you upload your site via server. What you have to do is to create a folder and store your html file(s) and all images you want to assign.This way the source paths will be ' src="./image_name.jpg" ' for example.Then you have to upload the whole folder to server.good luck Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now