j3ph — 2013-02-19T17:39:59-05:00 — #1
I've been asked to give a workshop on search engine marketing and I'm trying to explain what good html structure is. The problem is that those who will be taking this workshop are not exactly familiar with html.
Any ideas on how to break it down without giving an entirely different lecture on html?
jeff_mott — 2013-02-19T18:15:07-05:00 — #2
Good HTML should describe what each piece of content is, not what it should look like.
j3ph — 2013-02-19T19:15:08-05:00 — #3
Thanks. That's perfect....
ralphm — 2013-02-19T20:04:25-05:00 — #4
That seems to be a big problem with SEO people (not sure if that's what these folk are into, but ...). They often suggest things that are bad HTML, so it's good that you are doing this. I like what Jeff said. You could elaborate by mentioning that HTML markup gives important semantic signals (that is, the code is meaningful) and so using it for purposes other than what it's intended for is bad practice—like misusing alt and title attributes for keyword stuffing, for example. A client of mine was told by an SEO person the other day to pepper her site with keywords in bold, italic and underlines. Jeesh, apart from being freakingly ugly, I can tell you those elements weren't intended for that purpose.
felgall — 2013-02-19T20:26:48-05:00 — #5
Perhaps you can start by talking about the semantics of various pieces of text and then introduce HTML as the way web pages tell the browser the semantic meaning of each section of the content. That way they will learn what HTML is for before actually learning any HTML.
j3ph — 2013-02-22T13:57:11-05:00 — #6
I think I've decided to just show them how to search for inline styles, overuse of tables (implying a non-CSS based layout) and proper use of heading tags. Beyond that I feel involves an entirely separate workshop.
stomme_poes — 2013-02-28T08:11:51-05:00 — #7
Since there's lots of crap out there about things like title and alt attributes, and how anchors actually work, you probably want to mention those. People who don't know HTML but work with SEO have heard strange things about these and it's probably good to take a bit of time to demystify them.
http://www.paciellogroup.com/blog/2010/11/using-the-html-title-attribute/ (you may want to skim through this for your own knowledge)
dresden_phoenix — 2013-02-28T14:48:39-05:00 — #8
when speaking to VERY LAYCLIENTS I like to say that markup denotes IMPORTANCE and INTENTION in a fashion something similar to a report outline. Sometimes I will show them an "unstyled" document and how it "flows". It seems to be an effective method to not only to explain markup but for client to provided usable content rather than random text.
picnictutorials — 2013-02-28T15:05:14-05:00 — #9
You should use my html in my sig as a model. That thing is so clean you could eat off it. I took all my 10 years of knowledge and applied it to it. The only thing I need to do is take some time and format it better. All the includes muff that up. That thing is like a WP site. Every single thing in that site is a include. Making all edits a breeze.
jeff_mott — 2013-02-28T17:40:08-05:00 — #10
I think I found a spec of dirt.
Why do you use <span class="margin"></span> to create the appearance of paragraphs rather than actual paragraphs?
picnictutorials — 2013-02-28T17:44:05-05:00 — #11
The expander plugin required it. If I used paragraphs I lost the nice "read less" location. It would br itself down 15px. So I had to resort to that fix. Trust me I messed with it for like 5 hours.
jeff_mott — 2013-02-28T18:19:57-05:00 — #12
Display inline on the last paragraph seems to do the trick.
<p <font color='"#FF0000"'>style="display: inline;"</font>>When it...</p>
(Obviously you would move that inline style to your CSS file, but you get the idea.)
helen786 — 2013-03-01T03:11:28-05:00 — #13