cloudseer + (x)html   2

Tips for creating enterprise-level HTML, CSS and JavaScript
Do you feel that your front-end code isn’t quite up to enterprise standards? Want some good tips on how to take your HTML, CSS, and JavaScript to the next level? Go to Enterprise CSS, Enterprise HTML, and Enterprise JavaScript for loads of useful tips and best practices.

Note: To eliminate any risk of misunderstanding I think it’s best to add that this is a joke – most of the tips are actually anti-best practice. The sad thing is that the front-end code of many “enterprise-level” sites and content management systems really do look like many of these “tips” have been taken seriously.

Some of my favourite tips are these:

Store your application’s state as a hash in a single hidden input on the page, because page-weight is not my problem
Creating forms without the need for cumbersome label elements
Bullet-proof rounded corners that work all the way down to Netscape 4.79
Liberally using documentation to describe sections of content
Every single tag gets an id or class, because how else would you style it?
Read full post
Posted in (X)HTML, CSS, JavaScript.
(X)HTML  CSS  JavaScript  shared  from google
november 2010 by cloudseer
Embedding video files without JavaScript
Nowadays, it is more or less the norm to use JavaScript to insert video content embedded in Flash into web pages. While it does work in the majority of cases, there are a couple of problems: it requires JavaScript and it requires Flash.

Some people block JavaScript, some block Flash, some block both, and some use platforms or user agents that do not support JavaScript and/or Flash. Like the iPhone and iPod Touch, for example. So to reach the largest possible number of people with your videos, you may want to look into the method described by Kroc Camen in Video for Everybody!.
Read full post
Posted in (X)HTML, HTML 5.
(X)HTML  HTML_5  shared  from google
january 2010 by cloudseer

Copy this bookmark:



description:


tags: