Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Labeling A List


  • Please log in to reply
4 replies to this topic

#1 JeremyH

JeremyH

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 367 posts
  • Location:San Diego

Posted 25 April 2012 - 11:12 AM

I'm trying to use proper html on my website for increased usability, accessibility, and a badge of pride, but I'm also trying to do things the proper way so I can't be accused of keyword stuffing in my headers. Currently I have a list of different things, let's say fruit, and a header:

<h2>Fruit</h2>
<ul>
<li>Apple</li>
<li>Lemon</li>
<li>Watermelon</li>
</ul>

I was looking if there was a more appropriate way to label my lists, and I came across a label header:

<ul>
<lh>Fruit</lh>
<li>Apple</li>
<li>Lemon</li>
<li>Watermelon</li>
</ul>

Unfortunately the label header is no longer valid.

Is it appropriate to use a definition list (it seems some people use it this way, but it troubles me because an "apple" is not the definition of a "fruit"), or is the way I am currently doing it the best method?

<dl>
<dt>Fruit</dt>
<dd>Apple</dd>
<dd>Lemon</dd>
<dd>Watermelon</dd>
</dl>

#2 torka

torka

    Vintage Babe

  • Moderator
  • 4,636 posts
  • Location:Triangle area, NC, USA, Earth (usually)

Posted 25 April 2012 - 11:59 AM

There's nothing wrong with the way you're doing it, IMO. If your headers contain words that are about the topic of the page, then why would you be worried about "keyword stuffing"? Write headers that are appropriate for the page content and "read" well for human visitors and you should be fine.

--Torka :propeller:

#3 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 7,105 posts
  • Location:Blackpool UK

Posted 25 April 2012 - 12:49 PM

Keyword "stuffing" means using a "key"word/words far, far, FARmore than a dozen or so times in a document.

You have to think much bigger than what you are proposing.

#4 JeremyH

JeremyH

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 367 posts
  • Location:San Diego

Posted 26 April 2012 - 11:18 AM

I guess I shouldn't have said keyword stuffing. Right now I'm just worried about my semantics.

In the HTML5 draft, I came across this:

"The dl element represents an association list [...]." http://www.w3.org/TR...#the-dl-element

I guess I thought it was about words and their definition's, but I guess that would only be part of the story. Would I be correct in thinking that this method would be the most semantically correct:

<dl>
<dt>Fruit</dt>
<dd>Apple</dd>
<dd>Lemon</dd>
<dd>Watermelon</dd>
</dl>

#5 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 7,105 posts
  • Location:Blackpool UK

Posted 27 April 2012 - 07:23 AM

A 'list of definitions' is what your information/data structure seems to be. ...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!