Recent Articles

List of banned websites in Thailand and Denmark...
SECRET lists of websites banned in two countries have been leaked online, as the Federal Government delays a live trial of its controversial internet filtering scheme.

Australian HP-EDS staff swim in murky waters
Recently appointed local EDS head David Caspari says the 7.5 per cent staff cut goal was "by and large" completed for its Australian and New Zealand...

Nuix takes crime tool to Silicon Valley shoot-out
On January 15 a Sydney technology company called Nuix will have just five minutes to persuade a panel of Silicon Valley venture capitalists of its credentials to become...


12.30.08

Make Your Websites Completely Compliant

By Mads Kristensen

I was looking at XHTML and accessibility standards for BlogEngine.NEXT and found something I haven't noticed before in the W3C specs.

I came across some rules about specifying the default script and style sheet language when trying out the Total Validator.

By specifying the default script language you tell the browser what language all the onclick and other events specified in the HTML should be interpreted in.

It's probably always text/javscript but it could be text/vbscript or something else.

The same goes with the style sheet type.

It's always text/css when you use the style attribute in the HTML.

To tell the browser about the default script language and style sheet type, you can either add meta-tags or custom HTTP headers.


The meta-tags



The HTTP headers



The headers should be added to all .aspx pages. The easiest way to do that is in the master page or global.asax.

Comments


About the Author:
Mads Kristensen currently works as a Senior Developer at Traceworks located in Copenhagen, Denmark. Mads graduated from Copenhagen Technical Academy with a multimedia degree in 2003, but has been a professional developer since 2000. His main focus is on ASP.NET but is responsible for Winforms, Windows- and web services in his daily work as well. A true .NET developer with great passion for the simple solution.

http://www.madskristensen.dk/
About DevWebProAU
DevWebProAU is for professional developers ... those who build and manage applications and sophisticated websites. DevWebProAU delivers via news and expert advice New Strategies In Development.





DevWebProAU is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com NetworkNewz.com






-- DevWebProAU is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2008 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal  

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


Delivering IT Solutions DevWebProAU News Archives About Us Feedback DevWebProAU Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact