|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Feb 2004
Posts: 192
|
How to Rename an HTML Document?
When saving a web page, say, in My Documents, the procedure is :
File-Save As..., File name, Save as type (htm,html) etc. What appears in My Documents then, is a file (an HTML Document which opens with Internet Explorer) and a folder that comes along with it and has the same Name. Q. How can i Rename the file and still belong to its corresponding folder, without losing any data from the HTML Document (file), like pictures or maybe animations?
__________________
Operating System : Windows XP Professional Edition, [Service Pack 3] Web Browser : Internet Explorer 8 When you are courting a nice girl an hour seems like a second. When you sit on a red-hot cinder a second seems like an hour. That's relativity. Albert Einstein Last edited by Star-Com; 11-30-2004 at 07:47 PM. |
|
|
|
|
|
#2 |
|
Member (9 bit)
Join Date: Sep 2004
Location: Victoria, Australia
Posts: 418
|
I think it is in automatic code that your html editor is generating that the links are made as that folder is for supporting files (pics etc), you might have to open up your html editor again and go through the same procedure (Save as) and save it under a new file name.... probably what you will find though it will create a new accompany folder with the new name. Hope this helps... oh by the way, which html editor/web page creator are you using?
|
|
|
|
|
|
#3 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
You won't loose any data unless the user specifically presses the delete button (or some unusual circumstance). The thing you should be concerned about are broken links. Every HTML file has a source code to which a specific file name within a specific directory, if any, is called or defined.
So this is what you do. Check the name of the old file. Then, rename it. Then go into the HTML document which calls for the documents inside the folder. Press Control+H, presuming you are doing this all in a text editor or some standard program, and type in the old file name as the one you find, and replace with the new file name. That should do it. kram
__________________
"For today, goodbye. For tomorrow, good luck. And forever, Go Blue!"
University of Michigan President Mary Sue Coleman |
|
|
|
|
|
#4 |
|
Member (9 bit)
Join Date: Sep 2004
Location: Victoria, Australia
Posts: 418
|
Yeah, that is the better way, i am too used to taking short cuts... must get out of that habit!
|
|
|
|
|
|
#5 | ||
|
Foldin' For PCMech!
|
when i do any HTML i just simply use notepad. its basic, gets the job done and its free!
just remember when you save it to put .htm or .html at the end of the file!
__________________
Eric
|
||
|
|
|
|
|
#6 | |
|
Member (8 bit)
Join Date: Feb 2004
Posts: 192
|
Quote:
How do you mean? To open the HTML Document using Notepad and then Save As... ? |
|
|
|
|
|
|
#7 |
|
Foldin' For PCMech!
|
no, well that might work, but what i meant was open a new document in notepad and type the HTML file there. then hit "save as" and type a name followed by .htm or .html
for example index.htm or index.html |
|
|
|
|
|
#8 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Notepad is a universal text writer. It can write in many extensions - like .txt, .htm, .html., .js, etc. Be sure to specify ".html" at the end of the file - .html is more standard than .htm IMO.
kram |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|