Page 1 of 1

Why "header"?

Posted: Mon Jun 18, 2007 4:20 pm
by JellyFish
I've noticed that most semantical HTML designs usually have a header, content/body and footer.

My question is, why do they call it a "header"? Why not "head" and why not "foot" for that matter?

It's a stupid question...

Posted: Mon Jun 18, 2007 4:24 pm
by feyd
It comes from the print industry, just as there is margins, padding, line-height, word-spacing, letter-spacing, etc etc.

Posted: Mon Jun 18, 2007 4:28 pm
by alex.barylski
I call them header just to avoid any confusion with the HTML tag <head>. There is no reason beyond that, for me anwyays.

Posted: Mon Jun 18, 2007 4:28 pm
by JellyFish
hmmm... Interesting.

Posted: Mon Jun 18, 2007 4:36 pm
by superdezign
I did it because it just sounded right. Every element I name has to "sound right," or I can't bring myself to name it. I used to call the container a "wrapper" until I heard someone call it a container. It just sounded "right," so I changed it.

Of course, I don't always have a container, but there's always <h1 id="header">! (or div... depends on my mood :P)

Posted: Mon Jun 18, 2007 4:44 pm
by RobertGonzalez
Header, like the top part of a document. Footer, like the bottom part of a document. At least that is the logic that I have followed.

Posted: Mon Jun 18, 2007 9:07 pm
by JellyFish
I'm becoming really picky in my development. This isn't good. Everything feels like it has to be perfect, the best. Although I always feel like it's never good enough like it's not simple enough or it's not semantic enough or visually good enough or my script isn't structured right.

What should I do? O.o

Posted: Mon Jun 18, 2007 9:09 pm
by feyd
Get over it. :)

Posted: Mon Jun 18, 2007 11:11 pm
by The Phoenix
JellyFish wrote:What should I do? O.o
Work on a project with at least 80% legacy (pre-php4, pre-xhtml) code for at least two years straight.

Once you do that, you quickly find that perfect is the enemy of good enough. It becomes impossible to make headway if you are constantly trying to find 'the right way' to do every thing.

Of course, there is no reason that you cannot improve as you go. :)

Posted: Tue Jun 19, 2007 4:39 am
by Jenk
Hockey wrote:I call them header just to avoid any confusion with the HTML tag <head>. There is no reason beyond that, for me anwyays.
They are the same thing :?

Posted: Tue Jun 19, 2007 4:53 am
by Christopher
Jenk wrote:They are the same thing :?
The <head> is part of a HTML document that is not displayed, whereas the term header is used to describe a horizontal area at the top of every page that has the same design.

Posted: Tue Jun 19, 2007 4:58 am
by onion2k
JellyFish wrote:I'm becoming really picky in my development. This isn't good. Everything feels like it has to be perfect, the best. Although I always feel like it's never good enough like it's not simple enough or it's not semantic enough or visually good enough or my script isn't structured right.

What should I do? O.o
Slap the word "Beta" after the title and then quirks, errors, mistakes, problems, etc are all magically forgiven. It's the Web 2.0 way.