• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 710
  • Last Modified:

html layout best practices question

When I'm making the basic div elements for a page I generally have a header, a mid section, and a footer.

I usually call the header 'header', and the footer 'footer', but I'm never sure of what to call the midsection... what is the most common term used to name the middle page area selector 'midSection', 'middle', 'torso', 'belly', 'content'... ok I was kidding about torso... but really I want decided on a standard term I use and if there is a generally accepted term I'd like to use it.

what is the most common name for that area in a page?

3 Solutions
Judging from content management programs like Drupal, it's always called Content. I always call it Content too.
Julian HansenCommented:
I don't think there is a standard practice out there.

You can look at projects like the 960 Grid System ( http://960.gs/)

But as long as it is logical I don't suppose it matters really ... yet - no doubt at some point there will be an attempt to standardise - especially with respect to dynamic theming but for now I don't see an issue with what you are doing.
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
It does not really matter what you call it or what anybody else uses.  The key is to be consistant.   But typically there is a container and inside that you will find a header, content and footer.  

With HTML5 you will have <Article><section><Aside> http://html5doctor.com/downloads/h5d-sectioning-flowchart.pdf

And there is also a trend to name your div's semantically.   If your content is about anatomy and you are talking about the torso, then by all means give that div a "torso" class.   http://en.wikipedia.org/wiki/Semantic_HTML
I like the idea of using a consistent word. If someone else takes over websites you created at some point, they will immediately understand the word "content".
tf2012Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now