Jump to Navigation

Web Designer Interview Answers


1. What is the difference between cell spacing and cell padding?

Cell spacing specifies the space between cells

Cell padding specifies the space between the cell content and the cell wall.

2. Which are the table elements?

The table elements are <td> </td>

3. What can be used to apply the same layout to all pages in Dreamweaver?

You can use templates in order to apply the same layout to all pages when using Dreamweaver.

4. How do you define an in line style in HTML tags?

<p style=”color: red; text-align: right; font-weight: bold”>

5. How do you define an in line style?

You can use CSS or cascading style sheets written directly on to the element or tag they are to effect.

6. What is a DTD?

A DTD is a Document Type Definition, which can also be known as DOCTYPE. In documents saved as text or HTML, if the DOCTYPE is not declared the browser will go in to “quirks mode” this is because the DOCTYPE informs the browser how to interpret the contents of the page.

7. When should you use anti-aliasing over font smoothing?

Anti-aliasing is good for web images with flat colours, curves and text. With text, you should try and let the browser display the fonts with CSS rather than enclosing them in a graphic.

8. What is the difference between “visibility:hidden” and “display:none”?

“Visibility:hidden” will hide the element, however it will still take up space in the layout.

“display:none” will remove the element from the document, meaning it will not take up any space in the element. The HTML code for the element however will still be in the source code.

9. How do you align a whole webpage to the centre?

Body{margin: 0 auto;}

10. Which HTML tag is used to define an internal style sheet?

You should use:

<style type=text/css media=”screen”>Your CSS here</style>

Find Web Designer Jobs