Coding Tag

Start Learning the Technical and non-technical skill online with Coding tag . Coding tag is Successful online preparation with HTML,CSS JAVA,SQL and more.

Top 10 CSS Interview Questions — March 23, 2020

Top 10 CSS Interview Questions

Are you preparing for CSS and don’t know where to start? Well, then you are in the right place! In this blog, we have prepared a list of CSS Interview Questions that are most likely to be asked by the interviewers. This helps the students prepare thoroughly for the technical interview.

1. What is the use of Opacity in CSS?

The CSS opacity property is used to specifies the clarity of the image. In technical terms, Opacity is defined as the degree to which background element is allowed to show through an object. For example:

<style>

img.transparent {

opacity: 0.5;

filter: alpha(opacity=32); /* For IE8 and earlier */

}

</style>

2. Name some CSS style components.

Some CSS Style components are:

    • Selector
    • Property
    • Value

 

3. Explain the universal selector.

The universal selector works by matching the names of any of the element type instead of selecting any particular elements of a specific type.

<style>

* {

color: green;

font-size: 20px;

}

</style>

 

4. Name the property for avoiding image repetition in the background?   

The “background-repeat” property repeats the background image horizontally and vertically. Some images are repeated only horizontally or vertically.

<style>    

body {

background-image: url(“water1.png”);

margin-left:100px;

}

</style>

 

5. Name the property for avoiding scrolling of image in the background. 

The background-attachment property is used to specify if the background image is fixed or scroll with the rest of the page in the browser window. if you set the background image to fix, then the image will not move during scrolling in the browser. Let’s take an example with the fixed background image.

background: white url(‘water.png’);  

background-repeat: no-repeat;

background-attachment: fixed;

 

6. What is the RGB stream?

RGB is a system of representing a certain colour in CSS. There are three streams in this nomenclature of representing a colour, namely the Red, Green and Blue stream. The intensity of the three colours is represented in numbers ranging from 0 to 256. This allows CSS to have a wide range of colours spreading across the entire spectrum of visible colours.

7. What are CSS Sprites? 

CSS sprites combine multiple images into one single larger image. It is a commonly-used technique for icons (Gmail uses it). This is how you could implement it:

  1. Use a sprite generator that packs multiple images into one and generates the appropriate CSS for it.
  2. Each image would have a corresponding CSS class with background-imagebackground-position and background-size properties defined.
  3. To use that image, add the corresponding class to your element.

 

8. Mention a few benefits of using CSS Sprites.

CSS sprites come with their own advantages. Here are a few of them –

  • Reduce the number of HTTP requests for multiple images (only one single request is required per sprite sheet). But with HTTP2, loading multiple images is no longer much of an issue.
  • Advance downloading of assets that won’t be downloaded until needed, such as images that only appear upon pseudo-states{:hover}. Blinking wouldn’t be seen.

 

9. What is the float property used for in CSS?

The float CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the normal flow of the page, though it still remains a part of the flow (in contrast to absolute positioning). Below is the usage of float

float: none;

float: left;

float: right;

 

10. Name a few prominent CSS frameworks.

Below are the prominent CSS frameworks in the web development industry today:

  • Bootstrap
    Bootstrap is the most popular CSS framework for developing responsive and mobile-first websites. The newest version of Bootstrap is Bootstrap (4.4.x) .
  • Foundation
    Foundation is a responsive front-end framework. Foundation provides a responsive grid and HTML and CSS UI components, templates, and code snippets, including typography, forms, buttons, navigation, and other interface elements, as well as optional functionality provided by JavaScript extensions.
  • Semantic UI
    Semantic UI is a modern front-end development framework, powered by LESS(CSS-preprocessor) and jQuery. It has a sleek, subtle, and flat design look that provides a lightweight user experience.
  • Ulkit
    UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.

 

css interview questions answers

We have a blog of  Top 30 CSS Interview Questions that are most likely to be asked by the interviewers. If you want to prepare deeply well for your interviews, you can also visit Technical Interview Questions to learn more. For more updated interview questions you can visit our website www.codingtag.com.

Top Answers to CSS Interview Questions — March 12, 2020

Top Answers to CSS Interview Questions

  1. What is External Style Sheet? How would you hyperlink it?

External Style Sheet is the sheet which comprises fashion statistics and can be related with one or greater HTML files. With the help of External Style Sheet, the entire website can be formatted and styles simply through enhancing one single document. The report is hooked up with HTML documents with the help of the LINK element which resides inside the HEAD element.

css interview questions answers

  1. What are the advantages and downsides of using External Style Sheets?

The benefits of External Style Sheets are as follows :

  • With the assistance of External Style Sheets, the kinds of numerous documents may be organized from one single document.
    • In External Style Sheets, Classes can be made to be used on severa HTML details in many kinds of the site.
    • In complex contexts, Methods like selector and grouping can be carried out to apply styles.
    The disadvantages of External Style Sheets are as follows :
    • A greater download is important to import style records for each report.
    • The execution of the record can be deferred till the external style sheet is loaded.
    • While implementing fashion sheets, we want to check Web pages with more than one browsers in order to check compatibility issues.
  1.  What are the benefits and disadvantages of Embedded Style Sheets?

The blessings of Embedded Style Sheets are as follows :

  • In Embedded Style Sheets, it’s far feasible to generate training to be used on a couple of tag types in the record.
    • In Embedded Style Sheets, In comparison to In External Style Sheets, no greater download is compulsory to import the statistics.
    The hazards of Embedded Style Sheets are as follows :
    • In Embedded Style Sheets, Controlling the styles for more than one file from one report isn’t always viable.
  1.  What is CSS selector?

A CSS selector is the part of a CSS set that chooses the content material that calls for style. It is also referred to as a connection between the stylesheet and HTML files. CSS selectors allow you to desire and perform HTML elements. CSS selectors are used to “select” (or “find) HTML elements created on their id, class, type, etc.

  1.  What is Tweening?

Also Known as in-betweening, it’s far the method of making intermediary frames among two pictures to provide the arrival that the first picture develops correctly into the second image. It is a key process which is used in all types of animations. Refined animation software allows you to discover particular gadgets in an photo and describe how they may be able to flow and change in the course of the tweening procedure.

coding-tag (2)

  1.  What is Responsive Web design?

Responsive Web layout is the technique that recommends that layout and development have to respond to the user’s sports and situation primarily based on numerous additives including length of the screen, the platform and the orientation. The instruction contains a combination of bendy layouts and grids, snap shots and highbrow use of CSS media queries.

  1. What is the usage of CSS Image sprites?

It is a group of photos positioned into one image. A net web page with multiple pictures can take quite a few times to load and makes use of a couple of server requests to mission the same. With the help of photo sprites, we can decrease the number of requests to the server and shop time and bandwidth as well.

  1. What is the syntax to link outside the style sheet?

External style incorporates a description that can be related with the HTML document externally. To keep style break free the structure, External fashion sheet is one in all the best and prepared manner.

The syntax for using link External style sheet is as follows :

 

<HTML>

<HEAD>

<LINK REL=STYLESHEET HREF=”Test.css” TYPE=”text/css”>

</HEAD>

</HTML>

  1. How embedded fashion can be connected with HTML files?

Embedded fashion can be applied inside HTML code. It is written using the tag and used below the structure.

The syntax of it is as follows :

<HEAD>

<STYLE TYPE=”text/css”>

style {text-indent: 15pt;}

style1{text-color: #060000;}

</STYLE>

</HEAD>

  1. Why is it imported in an easy manner to insert the report?

Imported style sheets allow you to import the documents that are external or combine one style sheet with another. There may be created many documents, different style sheets to have extraordinary functions. Import function gives the provision to mix many elements or functionality into one. The syntax to import any document is @import notation, that’s used in the tag. There is one rule that means that the final imported sheet will override the preceding ones.


The syntax is shown with the aid of coding as :

The syntax is shown by coding as :

<Link Rel=Stylesheet Href=”Main.Css” Type=”Text/Css”>

<STYLETYPE=”text=css”>

<!–

@import url(http://www.xyz.css);

…. your code

–>

</STYLE>

This is the list of top CSS interview question answers. To learn more about CSS which can help you to enhance your career, read a detailed blog at Coding Tag.

Top 30 Perl Interview Questions 2020 — November 1, 2019
Top 50 HTML Interview Questions — October 30, 2019

Top 50 HTML Interview Questions

After the study, the toughest stage is how to crack an interview. Going for a job interview makes us feel like we are back in school examination. In an interview, our job is to show our hidden talent and convince a recruiter that we have a required talent.

For this, we have limited time to provide a true representation of our skills, experience, and knowledge to recruiters. To impress a recruiter, we have discussed top HTML interview questions that are listed below:

 

HTML INTERVIEW QUESTIONS AND ANSWERS
HTML INTERVIEW QUESTIONS AND ANSWERS
  1. What is HTML?

HTML is a Hypertext Markup Language used for creating various web pages and web applications layout. This language is not so difficult to learn and understand,

The HTML file must be saved with an extension: 

Xyz.html

Xyz.htm

It consists of some syntax and code words the same as other computer languages. The HTML file must be saved with .html extension. read more about html

  1. Describe the different versions of HTML?

HTML has different versions from beginning to till date like:

  1. 0  (original)
  2. 0  (Web Design Features)
  3. 0
  4. 2  (WILBUR)
  5. 0  (COUGAR)

And the latest version right now is HTML 5

  1. What is a DOCTYPE?

DOCTYPE means Document Type Declarations. It is used to specify the web browsers that which types of documents it will receive. In the HTML program,All HTML documents must start with a < !DOCTYPE >  declaration, It is an information to the browsers about the document type and language.

<!DOCTYPE html>

  1. One of the core concepts in the  Html interview question for freshers is to explain HTML tags?

Till now HTML is on the same core concept of tags as there in original HTML1.0.HTML tags consist of three main elements which are opening tag, content, and a closing tag, in the end. The opening and closing tags are written in the angle brackets like <>.

The opening tag represents the initiation of the start command and the closing tag represents the end of the command, hence it comes with the slash. See the syntax below:

<tag> content </tag>

There are some tags in HTML which don’t need to be close

For example <br> , <hr>…

 

Advanced HTML Interview Questions Answers
2020 ADVANCED HTML INTERVIEW QUESTIONS AND ANSWERS
  1. How many types of HTML tags?

Basically HTML tags are in two types paired and unpaired tag. As discussed above paired tags are those which have both opening and closing tag for example  <p> </p>, <h1> </h1>, <b> </b>, <i> </i>, etc.

Whereas the unpaired tags are <br>,<img>, <hr> ,etc .

The unpaired tags are <br>, <img>, etc.

  1. Name the list tags which are used to design a web page?

List tags are used to design a systematic web page. Here are the list tags :

  • ordered list
  • unordered list
  • definition list
  • menu list
  • directory list

All these tags can be used to compose a web page.

7- How to create a text on a web page that allows sending an email when clicked?

To change the text into a clickable link to send an email, use the mail to command within the <href> tag. The format is as follows:

<a href=”mailto:hello @codingtag.com”>Clickable Text</a>

Read more article: TOP HTML INTERVIEW QUESTIONS  AND ANSWERS IN 2020 

Top 30 SQL Interview Questions — October 23, 2019

Top 30 SQL Interview Questions

SQL is probably used for database interaction and management. Nowadays, SQL skills are essential for getting jobs, especially in the web development field. In this blog, I am going to introduce a set of SQL interview questions to cope up with the growing competition in IT markets.

Let’s Continue !!

1) What is DBMS?

DBMS is the Database Management System, It is the program for managing the file and the data of the file in the database stored in the system for any further use which includes adding, delete, and modify data. It provides a systematic method to perform modification, administration, and retrieval. Data present in the DBMS’s applications are stored as a file.

 

sql interview questions and answers in 2020
sql-interview-questions

2) What is RDBMS?

A Relational Database Management System (RDBMS) is a DBMS designed. This helps to store data in a structured format manner using tables having rows and columns for fast access. Moreover, it offers the relational operators for performing data manipulations across the tables.

3) What do you mean by SQL?

SQL (Structured Query Language) is known as the standard language to interact with the database. It is designed to accomplish tasks like retrieval, insertion, and deletion. It is the program for managing the data of the database stored which includes adding, delete, and modify data in a Table.

4) What do you mean by “Table” in a Database?

A table is known as a database object that can be used for storing the record in terms of rows and columns.

5) What is “Record” in a Database?

A record is known as “the row of the table that contains arranged sets of interrelated data”. It is a collection of fields about topics with many credentials in multiple rows and columns The database record can be thought of as a row of information within a database table.

Example

< 402 Cricketer 405>

6) What do you mean by the “database” in DBMS?

Well, Database is a set of data arranged in such a way that a computer can easily be able to fetch that particular value in a matter of time. It reduces the amount of time of computer checking or sorting methods functions for particular data.

7) What are the advantages of using a Database?

  • Time-saving – Fetching a single record can be done in just a few clicks. It can merge database records in less time with relations to it.
  • More handy information – Creating and running a query can be done easily for distinct answers or records from the database.
  • Capacity relates data – Different Data and sources of information can be linked together to review performance.
  • Ability to stimulate mail, email, and social media – Mass customization in terms of a specific response to potential customers depending on interpreted customer information. Mail and email operations can be easily driven to customers.

8) Name some of the applications using DBMS for their data storages?

  • Reservations systems
  • Telecommunications
  • Banking
  • Sales
  • Scientific applications

9) What are the keys that are present in DBMS?

There are six key founds in DBMS to manage the table. They are:

* Candidate key

* Foreign key

* Primary key

* Secondary keys/Alternate key

* Composite key

* Super key

10) How can you maintain and identify relations between two or more than two tables in DBMS?

Keys are used in maintaining the relationship between tables.

Read More – Top 30 SQL Interview Questions with Coding Tag

Updates on JavaScript Interview Questions for 2020 — October 22, 2019

Updates on JavaScript Interview Questions for 2020

1-     What is JavaScript?

Javascript is a scripting language, which is everywhere come installed on every modern web browser, It helps to create really beautiful and crazy fast websites, It is also considered as an object-based programming language.

2-     What are the defined Data types in Javascript?

The different types of JavaScript data types are:

  • Boolean: Two possible values (true and false)
  • Number:  Integer, float point.
  • String   :   Double, single quotes, and backticks.
  • Object  :
  • Undefined

3-     Name the company that introduced JavaScript?

A company that proposed JavaScript is “Netscape” which is a software company.

Javascript-Interview-questions
updates javascript interview questions 2020

4-     How to read and write a file in JavaScript?

We can read and write a file in JavaScript by following two methods, they are

  • We can use JavaScript extension
  • file=fopen(getScriptPath(),0); The function fread() can be used for reading file contents
  • file = fopen(“c:\examplefile.txt”, 3); opens the file for writing.
  • str = fread(file,flength(file) ; The function fwrite() can used to write the contents to the file.

Also, read an extensive list of updated top JavaScript Interview Questions for more such answers.

5-    What is negative infinity?

Negativity Infinity is a number in javascript which can be derived by dividing negative number by zero.

6-  How to add new elements dynamically?

<html>

<head>

<title>Add</title>

<script type=”text/javascript”>

function addNode() { var newP = document.createElement(“p”); var textNode = document.createTextNode(” This is a new text node”);

newP.appendChild(textNode); document.getElementById(“firstP”).appendChild(newP); }

</script> </head>

<body> <p id=”firstP”>firstP<p> </body>

</html>

7- What is this keyword in JavaScript ?

There are four rules applies to this in order to know which object is referred by this keyword:

  1. Global Scope
  2. Object Method
  3. Call() or apply() method
  4. Blind() method

Conclusion

Well, I am wrapping up with this. You can read these questions that will surely help you to crack your interview. Get top 30 JavaScript interview questions for more read

Advanced PHP Interview Question 2020 — October 18, 2019
Frequently Asked JavaScript Interview Questions in 2020 — October 17, 2019

Frequently Asked JavaScript Interview Questions in 2020

JavaScript has been one of the most in-demand languages in the niche of website development. If you also have various lined up interviews for JavaScript, then we have prepared this blog for you. In this blog, the most frequently asked JavaScript Interview Questions have been enlisted along with their appropriate answers. Note that these questions and answers have been prepared for both fresher as well as experienced to tackle the technical interview sessions.

Continue reading

Top SQL Interview Questions to Prepare for 2020 — October 15, 2019
Ethical Hacking Interview Questions and Answers in 2019 — September 25, 2019

Ethical Hacking Interview Questions and Answers in 2019

With the emergence of cyber-crimes, the career scope for Ethical Hacking is also emerging. If you are also looking for an opportunity to become an ethical hacker, we have prepared for you a list of most frequent Ethical Hacking Interview Questions which are asked by the interviewer, along with the answers. Note that these interview questions will help both beginners as well as experienced applicants to crack the ethical hacking interview.

  1. Who is known as a Hacker?

A hacker is a person who exploits the vulnerabilities of the computer to carry out some illegal tasks such as data breach, unauthorized modifications, etc.

Continue reading

Design a site like this with WordPress.com
Get started