Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/86.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何正确使用离子图标_Html_Bootstrap 4 - Fatal编程技术网

Html 如何正确使用离子图标

Html 如何正确使用离子图标,html,bootstrap-4,Html,Bootstrap 4,如何在html和/或引导框架中构建的任何web项目中正确使用ion图标?我已经阅读了文档,并尝试使用文档和示例中解释的一些图标 here is one of them <ion-icon name="rainy"></ion-icon> here is the reference 这是其中一个 这是参考资料 但问题是,他们没有出现 and Here is the full page with bootstrap 4: <!do

如何在html和/或引导框架中构建的任何web项目中正确使用ion图标?我已经阅读了文档,并尝试使用文档和示例中解释的一些图标

here is one of them 

 <ion-icon name="rainy"></ion-icon>

here is the reference   
这是其中一个
这是参考资料
但问题是,他们没有出现

and Here is the full page with bootstrap 4:

<!doctype html>
    <html lang="en">
      <head>
        <!-- Required meta tags -->
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    
        <!-- Bootstrap CSS -->
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    
        <title>Hello, world!</title>
      </head>
      <body>
        <h1>Hello, ion icons!</h1>
    
    <h2>it is raining today <ion-icon name="rainy"></ion-icon></h2>
    
        <!-- Optional JavaScript -->
        <!-- jQuery first, then Popper.js, then Bootstrap JS -->
        <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
    <script src="https://unpkg.com/ionicons@5.5.1/dist/ionicons.js"></script>
    
      </body>
    </html>
下面是引导程序4的完整页面:
你好,世界!
你好,离子图标!
今天下雨

是否包含图标css?也可能有webfont。