SOOPRO Pathshala provides CSS Interview Questions and Answers
CSS stands for Cascading Style Sheet. It is used with HTML to design websites.
SGML (Standard Generalized Markup Language) is the origin of CSS.
ID is unique. A particular ID can be only assigned to a single element.
Class are not unique and multiple elements can have the same class.
A CSS selector permits you to choose and operate HTML elements.
CSS selectors are used to selecting or find HTML elements created on their id, class, type, etc.
Block Element:Block elements always start on a new line and occupy an entire row or width.
Examples of block elements are 'div' and 'p' tag.
Inline Elements:Inline elements do not start on a new line; they appear on the same line as the content and tags beside them
Examples of inline elements are 'a', 'strong' and 'img' tags.
Inline-block Elements:Inline-block elements are similar to inline elements, but they can have padding, margins, and set height and width values.
A responsive web design is about design and development that responds to the user activities and the components involved such as screen size, platform, and orientation.
It comprises a mix of flexible grids, layouts, images, and intellectual use of CSS mdeia queries.