SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict blizzman24's Avatar
    Join Date
    Jul 2004
    Location
    Texas
    Posts
    345
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    html headers? Can someone explain them?

    Can someone explain what html headers are in great detail? How are they formatted? What is their purpose? How does the server interpret them?

    What the difference between http protocol and ftp protocol?

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Are you asking about HTTP headers? Read the RFC:
    http://www.ietf.org/rfc/rfc2616.txt

    Or do you mean the <HEAD> section of an HTML document?

    What the difference between http protocol and ftp protocol?
    Almost everything. Why do you ask that?

    FTP: http://www.ietf.org/rfc/rfc959.txt

  3. #3
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Basically the <head> tag of a html document is where all your "NOT SEEN BY NAKED EYE" information goes.

    The below list includes information that is displayed in your header:

    Scripts
    CSS Commands
    Title
    Meta Information
    Redirect Information
    Page Display Information

    The list goes on, but basically anything that the naked eye don't see goes in here, this sort of gives the browser the information it needs to display the site correctly.

  4. #4
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,839
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by ShawnsITSolution View Post
    Basically the <head> tag of a html document is where all your "NOT SEEN BY NAKED EYE" information goes..
    Although a better place for what can go in the meta http-equiv tags is to put them directly in the HTTP headers where they are more likely to be processed and a better place for your scripts is the very bottom of the body where they can load last.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •