Dhia Djobbi
Dhia Djobbi

Reputation: 1289

Problem with fontawesome , it doesnt appear

The font awesome icon doesn't show up? Here is the code of index.html :

<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8">
      <title>Document</title>
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
   </head>
   <body>
      <i class="fa fa-user-circle-o"></i>
      <h1>lol</h1>
   </body>
</html>

Upvotes: 3

Views: 130

Answers (1)

anastaciu
anastaciu

Reputation: 23792

Your link to fontawesome is not working, try:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
</head>
<body>
<i class="fa fa-user-circle-o"></i>
<h1>lol</h1>
</body>
</html>

Upvotes: 2

Related Questions