Search
 
SCRIPT & CODE EXAMPLE
 

HTML

font awesome

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
Comment

fontawesome

# use this in the head section of html to apply the font awesome icons.
<head>
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"/>
</head>
use the link for free icons from font awesome -> https://fontawesome.com/v5.15/icons?d=gallery&p=2&m=free
Comment

fontawesome

<script src="https://kit.fontawesome.com/4ea6e3ab0b.js" crossorigin="anonymous"></script>
Comment

Font-awesome

/* Add to head, this script is from font-awesome.icon */
<script
      src="https://kit.fontawesome.com/5daa8eb347.js"
      crossorigin="anonymous"
    ></script>
   
/* Add to body */
<i class="fa-solid fa-magnifying-glass"></i>

/* Add style to your css  */
.fa-solid {
  vertical-align: top;
  font-size: 16px;
  border: 1px solid red;
  color: white;
  padding: 5px;
}
Comment

fontawesome

<i class="fa fa-envelope-o" aria-hidden="true"></i>
Comment

font awesome

$ npm install @fortawesome/fontawesome-svg-core
$ npm install @fortawesome/free-solid-svg-icons
# See Compatibility table below to choose a correct version
$ npm install @fortawesome/angular-fontawesome@<version>
Comment

PREVIOUS NEXT
Code Example
Html :: html multiply 
Html :: how to make a clickable link 
Html :: html change background color 
Html :: bootstrap select 
Html :: comment in html5 
Html :: how to add two radio button in html 
Html :: js open pdf in new tab 
Html :: Translate Text html in magento 2 
Html :: embed maps responsive 
Html :: ng else if 
Html :: selected options with link 
Html :: bootstrap 4 success alert 
Html :: working search bar html 
Html :: how to make body width be device width html 
Html :: white text html 
Html :: how to add an image to my web page from my computer 
Html :: embed meta tag nextjs 
Html :: Resize the image in jupyter notebook 
Html :: how do i link two pages in html 
Html :: call javascript function from a tag 
Html :: open link as a number 
Html :: yellow html 
Html :: html nav example 
Html :: html scrollable table vertical 
Html :: unable to resolve dependency tree react html email 
Html :: divider bootsrap 
Html :: how to write code in html 
Html :: html comment tag 
Html :: bootstrap navbar simple 
Html :: telto 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =