xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"> <!-- Import the Font Awesome library -->
</head>
<body>
<i class="fas fa-star"></i> <!-- Insert an icon using Font Awesome -->
</body>
</html>
xxxxxxxxxx
<!-- Assuming you have an image file "icon.png" in the same directory as your HTML file -->
<!-- Using the <img> tag -->
<img src="icon.png" alt="Icon">
<!-- Using Font Awesome icons -->
<!-- First, add the Font Awesome CSS link in the <head> section of your HTML file -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<!-- Then, use the appropriate class for the desired icon -->
<i class="fas fa-icon"></i> <!-- Replace 'icon' with the specific icon you want to use -->