Advertisement
1xptolevitico69

How to insert Emoji inside html

Aug 16th, 2022
1,530
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.40 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.   <!-- Global site tag (gtag.js) - Google Analytics -->
  5.   <script async="" src="https://www.googletagmanager.com/gtag/js?id=G-420XFJRS1M"></script>
  6.   <script>
  7.     window.dataLayer = window.dataLayer || [];
  8.  
  9.     function gtag() {
  10.       dataLayer.push(arguments);
  11.     }
  12.     gtag('js', new Date());
  13.     gtag('config', 'G-420XFJRS1M');
  14.   </script>
  15.   <link rel="shortcut icon" href="https://1xpto.netlify.app/items/favicon.gif" type="image/x-icon">
  16.   <meta charset="UTF-8">
  17.   <meta http-equiv="X-UA-Compatible" content="IE=edge">
  18.   <meta name="keywords" content="How to insert Emoji inside html,1xpto,media,posts,favorite,about">
  19.   <meta name="viewport" content="width=device-width, initial-scale=1.0">
  20.   <title>How to insert Emoji inside html</title>
  21.   <style>
  22.  
  23.    a {
  24.        text-decoration: none;
  25.    }
  26.  
  27.    h1 {
  28.        font-family: calibri;
  29.        font-weight: normal;
  30.    }
  31.  
  32.    .emoji {
  33.        font-size: 24px;
  34.        vertical-align: top;
  35.    }
  36.  
  37.  
  38.  
  39.  
  40. </style>
  41. </head>
  42.  
  43. <body>
  44.  
  45. <h1>Last week i and my friends had lunch with my <span class='emoji'>&#128077;</span> <a onclick='goto()' href='#'>Grandpa</a></h1>
  46.  
  47. <audio id='audio' loop src='https://1xpto.netlify.app/audio/mediauto.mp3'></audio>
  48.  
  49.   <script>
  50.  
  51.    function goto() {
  52.       audio.play();
  53.       window.open('https://www.facebook.com/ManuelJSAndrade');
  54.     }
  55.  
  56.  
  57. </script>
  58. </body>
  59. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement