You are here: Re: Html page without any Html tag in its source « HTML « IT news, forums, messages
Re: Html page without any Html tag in its source

Posted by Sherm Pendley on 07/26/07 14:55

"lovecreatesbea...@gmail.com" <lovecreatesbeauty@gmail.com> writes:

> On Jul 26, 9:43 am, "asdf" <a...@asdf.com> wrote:
>> "lovecreatesbea...@gmail.com" <lovecreatesbea...@gmail.com> wrote in message
>>
>> news:1185413830.451217.154570@j4g2000prf.googlegroups.com...
>>
>> >I don't see any Html tag in some Html pages, for example, this one:
>>
>> >http://ftp.gnu.org/README
>>
>> > How does it make paragraphs, newlines ... without <P>, <BR> ...
>> > respectively? And how does it present < and > without &lt; and &gt; ?
>> > Does it use some CSS to achieve that?
>>
>> > Thanks
>>
>> Answer:
>>
>> It's not an html page. It's a text document on an FTP server.
>>
>> Newlines are probably the carriage return/line feed character. '<' is an
>> ascii character, so it's valid text anyway.
>>
>> No smoke or mirrors, no CSS :))
>
> Thanks asdf and Sherm Pendley.
>
> Does FTP server present any file (including plain text file) same as
> WEB server presents Html files? Can it present graph, Forms,
> tables ...?

Note that the above is not coming from an FTP server; if it were, the URL
would be ftp: instead of http:, which is a web server. The host name (in
the above, ftp.gnu.org) has nothing to do with the protocol that's used.
That's determined by the scheme, which in the above is http:.

What's more, a web server doesn't "present graph, forms, tables"; all it
does is send the appropriate MIME type (text/html, text/plain, image/gif,
etc.) for the file it's serving - it's up to the client to handle each
type however it sees fit.

But to answer your question, no, FTP servers do not send MIME types. Most
of the time it doesn't matter; an FTP client normally just saves the file
to disk anyway, regardless of its type.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация