Click here to get back home

Is there a difference between html document and html file?

 HomeNewsGroups | Search

comp.infosystems.www.authoring.html - discuss HTML authoring here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Is there a difference between html document and html file? Mark 05-15-2008
Posted by Mark on May 15, 2008, 10:05 am
Please log in for more thread options
Hello

This might be an odd question. I have an Excel VBA program that
searches through a folder for any .htm or .html file, searches the
file for any 'hrefs' and prints them to the spreadsheet. For some
reason I have noticed that some of the files are HTML Documents, and
some are HTML Files, and the program is only searching through the
HTML Files. I'm not sure if there is a difference between the two.
The only thing that I can notice is that they are different icons, and
when double clicked, the HTML Document opens in IE, and the HTML File
opens in Notepad. Any ideas?

Posted by John Hosking on May 15, 2008, 10:56 am
Please log in for more thread options
Mark wrote:
show/hide quoted text

Sounds like a matter of Microsoft Windows' file types to me, for which I
will be no help. If you get to a File Types dialog in Windows (e.g., via
Explorer in Tools-Folder Options-File Types) you will see a long list of
registered file types, many of which seem to be duplicates to us humans
but are (sometimes?) treated as discrete by the computer.

I can't explain any more than that, because I don't completely
understand the mechanism or logic of it, but that's my theory for you.

--
John
Not that I'm *bitter*...

Similar ThreadsPosted
How can I dynamically add file links to a html document? May 31, 2005, 7:40 am
A HTML document can be converted to XHTML document. January 31, 2005, 8:58 am
Difference of HTML 4.0 and HTML 4.01 April 8, 2005, 6:55 pm
run filename.smi in an HTML document April 4, 2009, 8:15 am
How does a browser parse an html document? January 25, 2006, 9:25 am
Document trailers : can anything legitimately follow August 6, 2004, 5:36 pm
How do redirects influence the base URL of an HTML document November 6, 2007, 3:25 pm
HTML form (XForms) --> XML Document without a web server? November 26, 2007, 11:33 am
Document seems invalid, but validates as HTML 4.01 strict September 4, 2008, 3:01 pm
Inserting Live Audio onto a Basic HTML Document October 26, 2004, 1:25 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy