×

Top 14 Web icon Interview Questions for 2024

1) What is Web Icon?

Web Icon is a symbol that is used to represent a specific action or a capability on a webpage. It is used in documents as well as applications.

2) How can we link the font library?

We can link the font library in HTML head sections. Example:
<head>  

   <link rel = "stylesheet"   

   href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">  

</head>

3) What are the Web Icons Fonts?

Web Icons fonts are:
  • Font Awesome
  • Bootstrap Glyphicons
  • Google's Material Icons

4) What are the advantages of Web Icons?

There are following features of Web Icons:
  • It is easy to use.
  • We have to download only Library font files .
  • It helps to web developers to built an Icons.
  • All web icons used within <I> HTML tag.

5) How can we use Font Awesome Icons?

We can use web icons by using HTML <i> element. Example:
<html>  

   <head>  

      <link rel = "stylesheet"   

      href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">  

   </head>  

      

   <body>  

      <i class = "fa fa-inr"></i>  

   </body>  

      

</html>

6) How can we define the Font Awesome Icons size?

We can define the size of Icons by using following codes: Example:
<html>  

<head>  

      <link rel = "stylesheet"   

      href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">  

          

      <style>  

         i.mysize{  

            font-size: 10em;  

                 }  

      </style>          

   </head>  

   <body>  

      <i class = "fa fa-inr mysize"></i>  

   </body>  

     

   </html>

7) What are the icons provide by Font Awesome?

Font Awesome provides 519 Icons. There are some following categories:
  • Web Application Icons
  • Hand Icons
  • Transportation Icons
  • Gender Icons
  • File Type Icons
  • Spinner Icons
  • Form Control Icons
  • Payment Icons etc.

8) What are the various form control icons and their use?

There are various from control icons:
<i class="fa fa-check-square custom"></i>

<i class="fa fa-check-square-o custom"></i>

<i class="fa fa-circle custom"></i>

<i class="fa fa-circle-o custom"></i>

<i class="fa fa-dot-circle-o custom"></i>

<i class="fa fa-minus-square custom"></i>

<i class="fa fa-minus-square-o custom"></i> etc.

9) What are Material Icons?

Material Icons are simple and support all modern web browsers. It is based on vector. It uses font (Library) class material-icons. Example:
<head>  

   <link href = "https://fonts.googleapis.com/icon?family=Material+Icons" rel = "stylesheet">  

</head>

10) How many icons font provided by Material?

Material provides 519 icons, following are given below:
  • Action Icons
  • Alert Icons
  • AV Icons
  • Communication Icons
  • Content Icons
  • Image Icons
  • Maps Icons
  • Navigation Icons
  • Notification Icons
  • Social Icons
  • Toggle Icons etc.

11) What is Bootstrap Glyphicons and how to load the font (Library)?

Bootstrap Glyphicons is a library of monochromatic icons. It provides 250 glyphs in font format. It is loaded the font with head HTML tag. Example:
<head>  

   <link rel = "stylesheet"   

   href = "http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">  

</head>

12) How can we define the size of Glyphicons Icons in Bootstrap?

We can define the size of Glyphicons Icons in Bootstrap by using following codes: Example:
<html>  

   <head>  

      <link rel = "stylesheet" href = <link rel = "stylesheet"   

      href = "http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">  

      i.mysize {font-size: 6em;}  

   </head>  

      

   <body>  

      <i class = "glyphicon glyphicon-tree-deciduous mysize"></i>  

   </body>  

      

</html>

13) What are the types of Material Social Icons and its use?

There are following types of Material Social Icons:
<i class="material-icons custom">cake</i>

<i class="material-icons custom">group</i>

<i class="material-icons custom">public</i>

<i class="material-icons custom">school</i>

<i class="material-icons custom">share</i> etc

14) How can we use Payment Icons by using Font Awesome?

We can use payment icons by using Font Awesome:
<i class="fa fa-cc-visa custom"></i>

<i class="fa fa-cc-paypal custom"></i>

<i class="fa fa-cc-mastercard custom"></i>

<i class="fa fa-cc-discover custom"></i>

<i class="fa fa-cc-jcb custom"></i>

<i class="fa fa-cc-stripe custom"></i> etc.

Related Topics

Top 15 XHTML Interview Questions for 202

1) What is XHTML? XHTML (Extensible Hyper Text Markup Language) it is similar to the HTML but has some strict rule than HTML. It is said to be HTML defined as...

3 minutes read.

Top 15 Servlet Interview Questions for 2024

1) What is Servlet? It is a technology used to create web applications. It is a web component which is used to create dynamic web pages. It consists of many interfaces and classess...

2 minutes read.

Top 31 PHP Interview Questions for 2024

1) What is PHP? PHP is a object-oriented scripting language, open source, interpreted and executed at server side. It is also used to develop web applications. 2) What are the features of PHP? Features...

4 minutes read.

Top 20 C Programming | Coding Interview Questions for 2024

Most Frequently asked C programming | Coding Interview Questions and answer for Fresher C is a powerful high-level programming language.  It is a fast, portable and available for all platforms. C...

15 minutes read.

Top 15 CherryPy Interview Questions for 2024

1) What is CherryPy? CherryPy is a web framework used for Python. It provides a friendly interface for Http protocol for Python developer. 2) Why we use CherryPy? CherryPy has following strength: Simplicity: It...

3 minutes read.

Top 15 PhantomJS Interview Question for 2024

1) What is PhantomJS? PhantomJS is a lightweight headless scripted browser built on WebKit. It is used for automation web page interaction. 2) Why it is called as headless browser? PhantomJS called as...

4 minutes read.

Top 30 Fortran Interview Questions for 2024

1) What is Fortran? Fortran is general purpose, high-level programming language which is used for numeric and scientific computing. 2) What are the features of Fortran programming language? Features of Fortran language are: ...

4 minutes read.

Top 32 Laravel Interview Questions for 2024

1) What is Laravel? Laravel is an open source PHP framework. It is used to design and develop web applications. It is based on MVC (Model-View-Controller) design pattern. It is created by Taylor...

6 minutes read.

Top 16 WebGL Interview Questions for 2024

1) What is WebGL? WebGL stands for Web Graphics Library. It is a JavaScript API that is used for rendering 3D graphic in any compatible web browser. It is written in...

3 minutes read.

Django Interview Questions for 2024

Django is an open-source python web framework. It is very popular due to the functionalities it offers. It uses the Model-View-Template architecture. Many giant organizations are using Django as their...

10 minutes read.

Top 50 ReactJS Interview Questions for 2024

Top 50 Frequently asked ReactJS Interview Questions Q-1. What is React? Ans-1 React is a front-end JavaScript library which is developed by Facebook in 2011. It follows the component-based approach and allows us to...

15 minutes read.

Top 30 Swift Interview Questions for 2024

1) What is Swift? It is an innovative programming language developed by Apple Inc. It is used for creating applications for iOS and OS X. 2) What are the features of Swift Programming? Features...

4 minutes read.

Top 15 AWS Interview Questions for 2024

1) What is AWS? AWS stands for Amazon Web Services. It is a cloud web hosting platform that offers flexible, scalable, reliable, easy-to-use, and cost-effective solutions. 2) What is Cloud Computing? It is...

2 minutes read.

Ember.js Interview questions

1) What is Ember.js? Ember.js is a JavaScript front-end Framework. It provides developer both features for managing complexity in modern web-apps as well as integrated development kit. 2) Why choose Ember.js? Logical...

2 minutes read.

Top 30 Web Service Interview Questions for 2024

1) What is a Web Service? Web service is a client server application or component. It is used for communication. It is way to communicate between two devices over network. In another word...

5 minutes read.

Top 15 Struts Interview Questions for 2024

1) What are the Features of Struts 2? Features of Struts 2 are: Configurable MVC components POJO based actions AJAX support Integration support Various Result Types Various Tag support Theme and...

3 minutes read.

Top 30 D Programming Language Interview Questions for 2024

1) What is D programming language? D programming language is an object oriented programming language. It is created by Walter Bright of Digital Mars. It was released in 2001. 2) Who is the...

4 minutes read.

Top 14 Apache Presto Interview Questions for 2024

1) What is Presto? Presto is a distributed SQL query engine. It is an open source software project to develop a database. 2) What are the features of Presto? There are following features...

2 minutes read.

Top 25 R programming Language Interview Questions for 2024

1) What is R programming language? R is an open source programming language. It is software environment for statistical computing and graphics. It compiles and runs on a wide variety of...

4 minutes read.

SSIS Interview Questions and Answers

Q.1 What is SSIS? SQL Server Integration Service (SSIS) is a component of Microsoft SQL Server. It is a powerful ETL tool that is used for building enterprise-level data transformation and...

5 minutes read.