
Stratosphere IT Services

Stratosphere IT Services 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. What is difference between html and html5?
HTML is the standard markup language for creating web pages, while HTML5 is the latest version with new features and improvements.
HTML is the older version of the markup language used for creating web pages.
HTML5 is the latest version with new features like native support for video and audio, canvas elements for graphics, and improved semantics.
HTML5 also includes new APIs for offline web applications, drag-and-drop interactions, and more.
HTML5 is more mobile-friendly and sup...read more
Q3. What is use of Css Padding Margin?
CSS padding and margin are used to create space around elements and control their positioning.
Padding is used to create space inside an element, between the content and the border.
Margin is used to create space outside an element, between the element and other elements.
Padding and margin can be specified in different units like pixels, percentages, or em.
Negative values can be used to overlap elements or reduce space.
CSS shorthand properties like 'padding' and 'margin' can be...read more
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. What is table in HTML?
A table in HTML is used to display data in rows and columns.
Tables are created using the <table> tag in HTML.
Rows are defined using the <tr> tag and columns using the <td> tag.
Headers can be added using the <th> tag.
Attributes like border, cellpadding, cellspacing can be used to style the table.
Example: <table><tr><th>Name</th><th>Age</th></tr><tr><td>John</td><td>25</td></tr></table>
Q6. 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'.
Q7. 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.
Interview Process at Stratosphere IT Services

Top Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

