Deputy Manager Trainee
Deputy Manager Trainee Interview Questions and Answers
Q1. In how many form we can apply css to html
CSS can be applied to HTML in three forms: inline, internal, and external.
Inline CSS - applied directly to an HTML element using the style attribute
Internal CSS - defined within the head section of an HTML document using the style tag
External CSS - linked to an HTML document using the link tag
Q2. How many types of Position in CSS
There are five types of position in CSS: static, relative, absolute, fixed, and sticky.
Static: default positioning, elements flow in normal document flow
Relative: positioned relative to its normal position
Absolute: positioned relative to its closest positioned ancestor
Fixed: positioned relative to the viewport
Sticky: acts like a combination of relative and fixed positioning
Deputy Manager Trainee Interview Questions and Answers for Freshers
Q3. write code in JS to find the duplicate number
Code in JS to find the duplicate number in an array
Iterate through the array and use a hash map to store the count of each element
Return the element with count greater than 1 as the duplicate number
Q4. Table tags attributes in html
Table tags attributes in HTML
Attributes like border, cellpadding, cellspacing, etc. can be used to customize tables
The 'border' attribute specifies the width of the border around a table
The 'cellpadding' attribute specifies the space between the cell content and cell border
The 'cellspacing' attribute specifies the space between cells in a table
Q5. Selectors in CSS
Selectors in CSS are patterns used to select the elements you want to style on a webpage.
Selectors can target elements based on their tag name, class, ID, attributes, and more.
Examples include: 'p' for all
elements, '.classname' for elements with a specific class, '#idname' for elements with a specific ID.
Selectors can also be combined to create more specific targeting, such as 'div.container p' to target
elements within a
with class 'container'.
Q6. Types of Html tags
Html tags are used to define the structure and content of a web page.
There are two main types of HTML tags: opening tags and closing tags.
Opening tags are used to indicate the beginning of an element, while closing tags indicate the end of an element.
Some tags are self-closing, meaning they don't require a separate closing tag.
Examples of HTML tags include <p> for paragraphs, <h1> for headings, and <a> for links.
Share interview questions and help millions of jobseekers 🌟
Interview Questions of Similar Designations
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month