• +91 9723535972
  • info@interviewmaterial.com

Web Design Interview Questions and Answers

Related Subjects

Web Design Interview Questions and Answers

Question - 61 : - Is Css Case Sensitive?

Answer - 61 : -

Cascading Style Sheets (CSS) is not case sensitive. However, font families, URLs to images, and other direct references with the style sheet may be. The trick is that if you write a document using an XML declaration and an XHTML doctype, then the CSS class names will be case sensitive for some browsers. It is a good idea to avoid naming classes where the only difference is the case, for example: div.myclass { ...} div.myClass { ... } If the DOCTYPE or XML declaration is ever removed from your pages, even by mistake, the last instance of the style will be used, regardless of case.

Question - 62 : - What Are The Five Possible Values For "position"?

Answer - 62 : -

Values for position: static, relative, absolute, fixed, inherit.

Question - 63 : - What are the newly introduced input types in HTML5?

Answer - 63 : -

HTML5 has had multiple revamps in the past years, and the addition of input types has made it very easy to work with. Some of these input types are as follows:

  • color
  • date
  • Datetime-local
  • email
  • month
  • number range

Question - 64 : - What are the five elements that support media content in HTML5?

Answer - 64 : -

There are five main elements in HTML5 that support media:


Question - 65 : - What is the use of Canvas in HTML?

Answer - 65 : -

Canvas was added onto HTML5 to give users the ability to draw graphics on the go, using JavaScript. There are a variety of methods in to allow for the drawing of paths, circles, boxes, images, and more.

Next up on this top Web Developer interview questions and answers, let us understand the difference between canvas and SVG.

Question - 66 : - How can page loading time be reduced?

Answer - 66 : -

There are many factors that affect the page loading time of a website. However, some methods can be implemented to reduce it drastically. They are given below:

  • Reduction in the image size
  • Removal of unnecessary widgets
  • HTTP compression
  • Reduction in lookups
  • Minimal redirection and caching

Question - 67 : - What is the use of CORS?

Answer - 67 : -

CORS stands for Cross-origin Resource Sharing. It is a mechanism that allows a variety of resources to be requested at a time from a domain that is outside the current request domain.

Question - 68 : - What are some of the new features that are introduced in CSS3?

Answer - 68 : -

CSS3 has brought about a lot of changes, making the overall framework more user-friendly and powerful. Some of the features that were added and are very popularly used now are:

  • Rounded corners
  • Animation
  • Custom layout
  • Media queries

Question - 69 : - What is Responsive Web Design (RWD) in HTML and CSS?

Answer - 69 : -

Responsive Web Design is a concept that is used to create web pages that can scale across multiple resolutions without any loss of information or screen tearing.

It automatically adjusts the structure of the web page based on the device it is viewed on to provide optimal viewing experience.

Question - 70 : - What are some of the types of CSS that are used?

Answer - 70 : -

There are three main types of CSS present:

  • Inline CSS: Supports the addition of CSS inline, alongside HTML elements
  • External CSS: Used to import an external CSS file to the HTML document
  • Embedded CSS: Used to add CSS styles by making use of the