Tagged with transitional
Choosing a doctype
So making sure that your webpages validate is important because it will make the pages render more consistently across different browsers, meaning you can spend less time debugging cross browser incompatibility and more time with your loved ones/down the pub/plotting world domination. But what are we going to validate against? The current most popular options [...]Published in ASP.NET on Monday, December 31st, 2007
HTML doctypes
I can never remember these things. This is a list so I (or you) can just cut and paste into pages. HTML 4 transitional: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> HTML 4 strict: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> XHTML transitional: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> XHTML strict: <!DOCTYPE html PUBLIC "-//W3C//DTD [...]Published in Web development on Tuesday, December 7th, 2004






