It is helpful for website logins to autofill usernames and passwords on HTML inputs, but can be a pain in the butt when you work with password change/reset forms or forms with credit card number fields. In these instances, you don’t want numbers to automatically fill in (or be remembered by a browser). Learn how to stop it.

The following are scripting examples of content negotiation using the HTTP Accept header.

These examples are used to properly serve XHTML with the proper MIME media type of application/xhtml+xml. If the request header does not allow this media type, it will be served as text/html. This convention follows the W3C standard for “Recommended Media Type Usage:” See the examples

Welcome to another article on Building Better Web Pages. This article series comprehensively covers building an HTML document: easily learned, but rarely perfected.

Today’s article covers Doctype declarations in regards to XHTML and HTML.This is one of the most intriguing markup debates out there. I personally waffled back and forth between the two.

Solid Statement: Don’t be a whiny prima donna about this issue. The XHTML Doctype helps you develop good coding habits. While HTML 4.01 has its set of standards, it allows for ‘sloppy’ code that doesn’t fly in any other language or platform.

See the pitfalls to both.

Welcome to another article on Building Better Web Pages. This article series comprehensively covers building an HTML document: easily learned, but rarely perfected.

Today’s article covers Strict versus Transitional Doctype declarations. This is an extended discussion regarding the article about Doctype declarations. I always suggest XHTML Doctypes. There is some interesting debate over the HTML vs XHTML, but it is becoming less relevant as the web continues to mature. How Does Strict Benefit Me?