Re: Web Edu CG style guide

Hi all!

Just a quick note. I've changed my mind on attribute values. I still 
require quotes around them, *when present*, but for boolean attributes I 
allow shortened attributes.

When my students disregard my rule about quotes, they *always* run into 
markup trouble. The fact that power coders like Paul Irish can get away 
with such habits does not mean that my students can't. In fact, 
enforcing that rule has decreased related markup errors considerably in 
my classes.

OTOH, since I lessened the requirement for attribute values on boolean 
attributes, I've never seen a single student mess that up. And now that 
HTML5 brings a plethora of attributes to some form input elements every 
shortening trick is welcome. I think shortened attributes actually 
*helps* readability.



2011-11-30 13:03, Chris Mills skrev:
> http://www.w3.org/community/webed/wiki/Web_Education_community_group_style_guide
> p
> I wrote this a few days ago on a train journey, but have just remembered to post it up!
>
> Obviously it needs some more additions, but can you let me know if you think it needs any other major sections? Feel free to add ideas too, of course.
>
> Chris Mills
> Open standards evangelist and dev.opera.com editor, Opera Software
> Co-chair, web education community group, W3C
>
> * Try Opera: http://www.opera.com
> * Learn about the latest open standards technologies and techniques: http://dev.opera.com
> * Contribute to web education: http://www.w3.org/community/webed/
>
>


-- 
Lars Gunther
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/

Received on Thursday, 1 December 2011 10:53:18 UTC