微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Visual Studio 代码中的 Html,图片和字体颜色未显示在网站上

如何解决Visual Studio 代码中的 Html,图片和字体颜色未显示在网站上

   *That's the file index.html*

 <!DOCTYPE html>
    <html>
        <head>
          <Meta charset="utf-8">
            <link href="styles\styles.css" rel="stylesheet" type="text\css">
          <title>24/7-Clanshop.de</title>
        </head>
        <body>
          <h1>24/7-Clanshop</h1>
          <p>The official shop for your 24/7 streetstyle!</p>
          <ol>
            <li>Hoodies</li>
            <li>Jogginghosen</li>
            <li>Socken</li>
            <li>Accessoires</li>
          </ol>
          <p>Look up to the <a href="https:\\www.youtube.com\channel\UCcj38MW1dBr_xB0m4T56UbA">Channel</a></p>
          <img src="pictures\testpicture.jpg" alt="My test picture">
          </body>
        </html>

*That's the file styles.css*

p,li,h1 {
  color:#ff0000;
  width: 500px;
  border: 1px solid black;
}

当我运行这个程序时,既不能显示图片,也不能显示字体颜色。是因为我的浏览器设置还是我忽略了一些完全不同的东西?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。