integrate awebsome font in HTML page [duplicated]

0

How can I integrate the catalog of font icons awebsome on my page and when the user selects one can know the tag of the icon that the user selected

    
asked by Ivxn 16.11.2017 в 22:25
source

1 answer

1

The only thing you should have <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css"> in <head></head> and then see the catalog of icons and copy and paste from here Here

for example

<i class="fa fa-address-book-o" aria-hidden="true"></i>

if you want to do it with javascript just use innerHtml("<i class='fa fa-address-book-o' aria-hidden='true'></i>");

    
answered by 17.11.2017 в 21:27