PDA

View Full Version : htm > html


Blurry
08-02-2004, 11:03 PM
Converting htm page to html page ? is there a program for that ?

Realged13
08-02-2004, 11:28 PM
Just had .html to it. HTM and HTML are basically about the exact same thing.

Idbeholda
08-03-2004, 02:05 AM
*snickers*

... and you call yourself a hacker LMFAO.

lvl_a_i_l
08-03-2004, 02:14 AM
"snickers" is that not kandy ????????? :eek:

Is sniper made of candy ?????? :confused: :confused: :confused:

Idbeholda
08-03-2004, 02:41 AM
*insert richard simmons [in both ways]* Heeth jutht thuch a candyman I could gobble him up.


Sorry, couldn't resist.

Realged13
08-03-2004, 12:18 PM
No, I'm nto a snickers I'm a Three Musketeer!

Blurry
08-03-2004, 12:29 PM
btw if i change the extension then the page is fucked up thats why i'm asking for a program .. i'm not a moron !

baloney_mahoney
08-03-2004, 05:17 PM
btw if i change the extension then the page is fucked up thats why i'm asking for a program .. i'm not a moron !

That shouldn't occur. Internet Explorer accepts both extensions, '.htm' and '.html'. It's just a matter of choise (like '.jpeg' and '.jpg').

There is no 'program', per se, to convert because there is nothing to convert.

Realged13
08-03-2004, 05:20 PM
Exactly, thats why I said HTML and HTM are basically the exact same thing.

Limpkinw
08-03-2004, 05:31 PM
my guess is you may mean links WITHIN the actual source to a web page? I am not certian what else could be in question here. If so simply open it in notepad and hit ctrl-h type .htm on top and .html on bottom.

baloney_mahoney
08-03-2004, 05:43 PM
As a matter of fact, IE doesn't care what the extension is so long as the hypertext tags are correct.

try this....

<html>
<title>TEST</title>
<body bgcolor=yellow>
<h1>HELLO</h1>
</body>
</html>

save above as 'test.htm', also save it as 'test.html', and also as 'test.boo'
double click on each file...IE should open up the '.htm' and the '.html' files and show them exactly the same. when you double click on the '.boo' file Windows will prompt you to select an application to open it....scroll down the list of applications and select 'iexplore'. You will see that IE will open it and display it the same as the other two files.

baloney_mahoney
08-03-2004, 05:48 PM
my guess is you may mean links WITHIN the actual source to a web page? I am not certian what else could be in question here. If so simply open it in notepad and hit ctrl-h type .htm on top and .html on bottom.

Good point. If a Web Site contains a link to a document '<a href="homepage.htm">....' you must leave the link to it as is. IE sees '.htm' and '.html' as the same but Web servers do not.

Limpkinw
08-03-2004, 05:49 PM
of course i realize this, I just dont know what he is trying to convert. If he has several pages that link to each other and he renames them all .html he will need to change the .htm to .html in the source. I guess that's what I was referring to.

Realged13
08-03-2004, 10:45 PM
Personally, I don't think you really know what your talking about Blurry lol. Because what you are trying to explain is confusing.

nscopex
08-04-2004, 06:32 PM
That's why I laughed at him in his "hacker" thread. I someone says they hack servers, but can't figure out how to make htm and html documents coincide then he's a bold ace liar when it comes to "hacking". Kids like this need not talk about things they don't know.

But to answer the question. Do what everyone suggested. If you want to change the <a href="www.yahoo.com/page.htm> to <a href="www.yahoo.com/page.html> then open the page in notepad, and hit CTRL+H and for the string to be replaced use ".htm" and replace it with ".html". Ohh wait. Limp said that. If all you want to do is make your index another file rename the file to "index.html". Not just IE but all web browsers will know what to goto. Thats why www.limpkinw.com/ is routed to the index page although it is php.

baloney_mahoney
08-05-2004, 05:34 PM
Ummm.........maybe I am wrong (usually the case) but it appears to me that changing the '.htm' to '.html' using Notepad will not solve the problem in all cases.

For example, say you go to a Web Site (one that is not yours) and you get the home page and in that home page document there is a link to another location, like, '<href="http://www.some_where_else.com/some_page.htm">' . Now that's the name of the document on the server....'some_page.htm', so you must refer to that document using the real name ('some_page.htm') and changing the name to 'some_page.html' on your copy of the home page document will only result in a Document Not Found error. Also, you run into other problems as well because you must now use your modified copy to even get back to that Web Site. Now, suppose that document also had links in it like this--->'<img src="../image.gif">.' What are you going to do about the '..'?

Of course, if it is your own Web Site then you can do what you want.

If I am wrong please correct me.

nscopex
08-06-2004, 01:54 AM
You are correct. But why would you save it to change the name of the file? When you change the name you also need to save "sompage.htm" and rename it to .html SO you're correct but you took alot of time to make a contradictory post.