Font Awesome - Gender Icons



This chapter explains the usage of Font Awesome Gender icons. Assume that custom is the CSS class name where we defined the size and color, as shown in the example given below.

<html>
   <head>
      <link rel = "stylesheet" href = "http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">

      <style>
         i.custom {font-size: 2em; color: gray;}
      </style>
		
   </head>
	
   <body>
      <i class = "fa fa-adjust custom"></i>
   </body>
	
</html>

The following table shows the usage and the results of Font Awesome Gender icons. Replace the < body > tag of the above program with the code given in the table to get the respective outputs −

Usage Result
<i class="fa fa-genderless custom"></i>
<i class="fa fa-intersex custom"></i>
<i class="fa fa-mars custom"></i>
<i class="fa fa-mars-double custom"></i>
<i class="fa fa-mars-stroke custom"></i>
<i class="fa fa-mars-stroke-h custom"></i>
<i class="fa fa-mars-stroke-v custom"></i>
<i class="fa fa-mercury custom"></i>
<i class="fa fa-neuter custom"></i>
<i class="fa fa-transgender custom"></i>
<i class="fa fa-transgender-alt custom"></i>
<i class="fa fa-venus custom"></i>
<i class="fa fa-venus-double custom"></i>
<i class="fa fa-venus-mars custom"></i>
Advertisements