HTML & CSS
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?
Good HTML should describe what each piece of content is, not what it should look like.
Thanks. That's perfect....
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.
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.
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.
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)
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.
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.
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?
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.
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.)
This topic is now closed. New replies are no longer allowed.