.:[February 19th - 17:30 CET/GMT+0100]:.

Tips & Tricks to RFC Compliant (x)HTML


Document Types
Embed Flash objects in HTML
Switch pages to SSL (https://)
Embed audio in HTML
Prevent MSIE Browser using Mod Rewrite

I am seriously tired of wannabe-webmasters (or HTML editors) that think they know everything, and yet they can't even make their pages render properly in the major browsers. So I took the time to put these pages together, they are meant as a reference so you can write proper and not just MSIE compatible HTML. Not all the tips are written by me, so credits are given to the authors, even if I haven't listed their names.

Every piece of HTML on these pages will pass successfully through W3's HTML Parser.

There are also a few small PHP scripts and some Apache (HTTPd/.htaccess settings on these pages.
You can use the quicklinks below to jump to a specific section/article

First, let me stress that the HTML document file extension is .html not .htm – Get used to it!

All parameter values must be enclosed in 'single' or "double" quotes. (parm="value").
You can't use the &"<>æøå characters in HTML. Browsers often recover safely from these kinds of errors, but stray from them and use &amp; &quot; &lt; &gt; &aelig; &oslash; &aring;.

Avoid using spaces in your document names, for instance is this document very bad.
"Pictures from our Vacation in Spain.html"… You should replace the spaces with an _underscore_ or similar characters, or better yet, keep it short as "pictures.html" short names makes it easier for your visitors to remember
See more at W3Schools's HTML symbol references.

All HTML is lowercase, No Exceptions!

Related pages