Choosing a DOCTYPE

Choosing a DOCTYPE

DOCTYPEs According to the World Wide Web Consortium (W3C), each (X)HTML document needs to include a document type declaration (DOCTYPE). This DOCTYPE has to be placed at the very start of any (X)HTML document and “tells” any tool which processes (X)HTML documents (browsers, validator, etc) which version of (X)HTML to use to render the page. If you do not use a DOCTYPE at all the browser will render the page in quirks mode instead of standards mode which will usually give you all sorts of strange results as each browser uses different...

read more

All you need to know about Favicons

All you need to know about Favicons

In this tutorial I am going to show you how to create your own favicon and make it show up on all the pages of your site. What is a Favicon? The favicon is the small image next to the URL in the address bar (as shown below) and next to the title on any tab that is open. Why is a Favicon Important? I think a favicon is important as it helps to give your site an identity, a brand almost. For example if the user has a lot of tabs open then they can easily tell which site is which by looking at the favicon (pictures speak louder than...

read more

How to use Header tags Correctly

How to use Header tags Correctly

Something I notice more and more on websites are that header tags are being used in the wrong way or in some worse cases not at all. I thought that it would benefit people if I explained a little about why headers should be used correctly and how to use them correctly. Why Even Use Them? I guess i'm an enforcer of using good semanticly correct code and it will annoy me much more than the average user if header tags are used inappropriately, but this isn't to say that you shouldn't listen, there are benefits after all: They help with...

read more