Deputy Manager Trainee

Deputy Manager Trainee Interview Questions and Answers

Updated 20 Aug 2024

Q1. In how many form we can apply css to html

Ans.

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

Ans.

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

illustration image

Q3. write code in JS to find the duplicate number

Ans.

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

Ans.

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

Are these interview questions helpful?

Q5. Selectors in CSS

Ans.

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

Ans.

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 🌟

man-with-laptop
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.9
 • 1.6k Interviews
3.1
 • 50 Interviews
View all

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

Deputy Manager Trainee Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter