Last Updated: 27 Jun 2023
|
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
people:hr:good-technical-interview-questions:html-css-questions [Aug 20, 2010 05:33 AM] dordal |
people:hr:good-technical-interview-questions:html-css-questions [Jun 25, 2023 06:30 PM] 111.225.149.116 removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | = HTML / CSS Interview Questions = | ||
+ | == HTML == | ||
+ | * Explain the basic components of a typical webpage, e.g. XHTML, CSS, JavaScript, etc. From a high level perspective, | ||
+ | * What do we use classes and ids for? What's the difference between them? Can you have more than one element with the same class in the DOM? How about more than one ID? | ||
+ | * Can you assign more than one class to a single element (e.g. ' | ||
+ | * What are commonly used doctypes? What is the [[front-end-tech: | ||
+ | * What are pros and cons of using tables for layout? When should you use them, and when should you not? | ||
+ | * What does the ''< | ||
+ | * Tell me about some common meta tags and what they do (e.g. ' | ||
+ | * What are some of the different types of stylesheets that you can attach (e.g. media=' | ||
+ | * Why do you want to encode non-ASCII characters like & (&) or » (& | ||
+ | * How do you do HTML5 videos? Have you played with the new stuff in HTML5 very much? | ||
+ | |||
+ | == CSS == | ||
+ | |||
+ | * At the most basic level, why even use CSS? What does it do for us, as compared to the ' | ||
+ | * What's the difference between an inline element and a block element? | ||
+ | * What are some ways you might target IE (or IE6) only, without affecting other browsers? | ||
+ | * How do CSS precedence/ | ||
+ | * Have you ever used a CSS reset? (e.g. the * reset, or the [[http:// | ||
+ | * Have you ever played with any of the advanced selectors (e.g. selecting children or selecting siblings)? Or with any of the psuedo-selectors ('': | ||
+ | * What are some different ways for specifying a color (e.g. ''# | ||
+ | * What about different lengths? Pixels, ems, & pts are all common. | ||
+ | * It's frequently worth asking some basic text questions; e.g. how to increase/ | ||
+ | * Explain how the CSS box model works. Draw a box and then explain what the border is, what the margin is, what the padding is, etc.? If you assign a '' | ||
+ | * Explain vertical margin collapsing. | ||
+ | * How do you float an element, and what does that mean? What's clearing? | ||
+ | * What's the difference between '' | ||
+ | * What does z-index do? Advanced question: what are some of the issues with IE6 and z-index? | ||
+ | * What does it mean for your CSS to ' | ||
+ | == HTML/CSS Test == | ||
+ | |||
+ | * Write the markup for [[https:// | ||
+ | * Create [[https:// |