I think you're already using it. Typically for a menu system, the primary key for using good semantic code is to make sure that you're using a sequence of nested lists. Check, so I think you're doing a great job as far as what we've discussed goes. That and make sure that everything is separated out... XHTML in the .html file, CSS in the .css stylesheet, and any javascript done unobtrusively in your .
js file.
Here's my check to see if you're writing good semantic code. Look at the code in notepad, ignore what it's going to look like on screen. And if the tags your using, and the classes and ids you're applying 1) all make sense AND 2) help you make sense of the document structure. Then you're writing good semantic code. Semantic code is the easiest thing in the world to write once you get used to it. It makes your code very simple and easy to understand. Mine usually look like this...
<!DOCTYPE ...>
<html ...>
<head>
header stuff...
</head>
<body>
<div id="header">
<h1>Main Title</h1>
...other top of page structure...
</div>
<div id="mainContent">
<div id="Section1">
<p>
My first paragraph talking about point 1.
</p>
<p>
My second paragraph talking about point 1.
</p>
<table id="tabularData">
...table structure...
</table>
<p>
Closing commentary about point 1.
</p>
</div>
...other content...
</div>
<div id="footer">
...other footer structure...
</div>
<div id="navSection">
<ul id="mainMenuBar">
<li>
Menu item 1
<ul id="mainNavPages">
<li>
Submenu item 1
</li>
<li>
Submenu item 2
</li>
</ul>
</li>
<li>
Menu item 2
<ul id="userInteractionPages">
<li>
Submenu item 1
</li>
<li>
Submenu item 2
</li>
<li>
Submenu item 3
</li>
</ul>
</li>
<li>
Menu item 3
<ul id="productPages">
<li>
Submenu item 1
</li>
<li>
Submenu item 2
</li>
<li>
Submenu item 3
</li>
</ul>
</li>
</ul>
</div>
</body>
</html>
If you can read your XHTML and it makes sense... you're writing good semantic code. And nothing that you write in should have anything to do with the appearance you want displayed. That should all be in the CSS. The only exception, should be if you need to add an id or a class for the CSS to grab onto. That's fine, as long as the id/class makes functional sense of the purpose of the tags.
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of
www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.