Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Header Tag / Logo Replacement - Opinions?Header Tag / Logo Replacement - Opinions?
Previous
 
Next
New Post
8/8/2009 2:16 PM
 

Cool... I'll give this a try... I'd like to implement this in a reseller skin.

I'm actually surprised more skinners don't utilize this H1 method a bit more.  Search engines are more inclined to read semantic headers than they are alt tags on images - DNNLogo in point.

Plus, as I mentioned earlier, having one H1 header per page is a widely accepted standard - I've seen too many users and skinners using this tag frivilously in content, or setting Container Titles to H1's instead of H2's...

Skinners and DNN users alike should see the following two W3C pages:

Some might argue that image-replacement for H1's and "display: none;" for the span tect might hinder SEO, but I would say its a heap better than a plain-jane image with alt text.  The inclusion of the <a title=""> title property is also preferred (as it were) over an alt tag.  And, as the whole point of stylesheets is to separate the content from the display, this method gets my vote.

Anyone else..?


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
8/10/2009 4:29 PM
 

This slides a little off the topic, but I don't use a H1 tag in the logo or anywhere in the skin.  It really shouldn't be there.  I have a separate container that sets the Title as a H1, this becomes the primary focus of the page as far as search is concerned.  This really has nothing to do with SEO and everything to do with making a web search functional.  The most important item gets a H1, and that's what a search engine will display first.

The alternate is to use H1 tags in the content, but that's a bit more subjective in my environment when content editors may not abide by the rules.  If they can't change the title of the module, then I'm safe.  :)

Jeff

 
New Post
8/11/2009 4:45 PM
 

Jeff Cochran wrote

It really shouldn't be there.

Hi Jeff.

While I value your version of the truth (and it does make some sense), I have to go with the law.  And here it is - straight from W3C:

"<h1> is the HTML element for the first-level heading of a document:"

One can go on to read:

  • If the document is basically stand-alone, for example Things to See and Do in Geneva, the top-level heading is probably the same as the title.
  • If it is part of a collection, for example a section on Dogs in a collection of pages about pets, then the top level heading should assume a certain amount of context; just write <h1>Dogs</h1> while the title should work in any context: Dogs - Your Guide to Pets. (Which is why your version of it makes sense...)

Sitepoint's Ultimate CSS Reference (Page 46) says this about the H1:

"The h1 element is used to indicate the most important (or highest-level) heading on the page"

That being said, I like to think of a webpage, as just that - a page / a document.  And accordingly, I try to use semantic headings in the same way one would outline a written document:

  1. h1 - title (of the page or document - I don't like the idea of content editor's being able to change this, so I place it in my skin - as the logo / header)
  2. h2 - main point (there can be several of these, and thus I use H2's for my container titles)
  3. h3 - sub points / sub headings
  4. p - content (obvious)

Sitepoint goes on to say, "A document's first heading should be an h1, followed by one or more h2 headings; each of these h2 headings can have a further series of h3 headings below them, and so on..."

I know you're not meant to plug other products on this site or in the forums, but from a referencing point of view, I owe it to the owners and publishers of the book to make reference to their site: www.sitepoint.com - a very good read / reference for those interested in CSS and HTML done properly.

Lastly, if you Google, "only 1 h1 per page" - you'll get a number of results saying pretty much the same thing.

Just my take on it.


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
8/11/2009 7:41 PM
 

I do love some good discussion...

So I find myself wondering now, instead of using the site title - i.e. Billy Bob's Shrimp Shack - The Best Shrimp and Seafood in the tri-lakes area (Site Name, keyword rich tagline) -  should I instead place a tag in there to populate it with the "Title" element that is set in the Page Settings menu (which will most likely be set by marketing peeps or the site owners), and if so what would that call / tag be in my ascx files?


Wells Doty Jr
Online Content Development
 
New Post
8/12/2009 3:37 AM
 

Wells Doty wrote

I do love some good discussion...

So I find myself wondering now, instead of using the site title - i.e. Billy Bob's Shrimp Shack - The Best Shrimp and Seafood in the tri-lakes area (Site Name, keyword rich tagline) -  should I instead place a tag in there to populate it with the "Title" element that is set in the Page Settings menu (which will most likely be set by marketing peeps or the site owners), and if so what would that call / tag be in my ascx files?

Don't get me wrong at all...  Although there is mention that the H1 "could" be the same as the page title, from an SEO standpoint, it would be better (from what I've read) to have these slightly different to one another...  Also, it's better that your H1's are human readable and preferably common search phrases.  I don't know it all, but I do know its a fine art and there must be several arguements for it.

RE: using title in h1.  See above:

<h1 class="logo"><a title="<%= PortalSettings.PortalAlias.HTTPAlias%>" href="http://<%= PortalSettings.PortalAlias.HTTPAlias%>"><span><%=PortalSettings.PortalName%></span></a></h1>

Tried it and it does work, but I, myself will only do this in reseller skins.  Custom client work will do differently.

Jon


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Header Tag / Logo Replacement - Opinions?Header Tag / Logo Replacement - Opinions?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out