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 (将#修改为@)