When I wrote Looking for a good interface developer? HereÃ¢â‚¬â„¢s what to ask to make sure youÃ¢â‚¬â„¢ve got the right person, I wasn’t sure if I should reveal the answers to you or just let you do the research yourselves. However, I came to the conclusion that this web site is really about sharing knowledge, and also that some of you might have some good extra input on my answers.
So, here are some answers and links to more information about the questions:
- Why does DOCTYPE matter?
- It’s mostly about rendering mode, and in my mind you should always go for strict. Read more at Transitional vs. Strict Markup by RJ, and I also scratch the surface in my post HTML or XHTML?.
- What’s the difference between Quirks Mode, Almost Standards Mode and Strict Mode?
- It is about layout modes, and is very well explained in Activating the Right Layout Mode Using the Doctype Declaration by Henri Sivonen.
- What is semantic coding, and why is it important?
- It is important because of accessibility, structure, search engine optimization etc. Read more in my old post Semantics.
- What is the box model?
- How padding, width, margin etc will be rendered on a block HTML element. Take a look at CSS Enhancements in Internet Explorer 6 (click on the “Fix the Box Instead of Thinking Outside It” link; frames are great, aren’t they…?).
- Explain the hasLayout problem and how it can be addressed.
- “HasLayout” Overview goes through it well, with links at the end to other valuable resources.
- What is specificity in CSS?
- Many people have tried taking a stab at explaining this, but I think Molly got closest to the truth (while maintaining a state of being understandable) in CSS2 and CSS2.1 Specificity Clarified. CSS specificity, boys and girls, is where CSS goes from nice fonts and cool layouts to rocket science.
- How does floats work in CSS?
- For a long time I though about writing a post about it, but it is a very difficult subject to explain in simple terms. Luckily my fellow Swede Tommy does it so good in Float Layouts that I don’t have to.
- What is WAI?
- WAI basically develops guidelines “widely regarded as the international standard for Web accessibility”.
- What problem do you stumble upon in Internet Explorer if you specify the font size in pixels?
- The font in the web page can’t be resized through the web browser interface. It has to specified in
emor with some other dynamic unit. Note that this is a shortcoming of Internet Explorer and nothing else.
- In what way does Internet Explorer handle
altincorrectly, and what are the consequences?
- It shows the
alttext as a tooltip, which is incorrect. Read Why doesn’t Mozilla display my alt tooltips? for a proper explanation of how it should really work in any serious web browser. Basically, this sentence says it all: “The value of the
altattribute is a textual replacement for the image and is displayed when the image isn’t.”