图像未显示 - 实现

时间:2017-08-27 19:20:54

标签: javascript html materialize

我添加了图片来源,但我不知道为什么它没有出现。 我尝试添加“materialize.min.js”和“materialize.min.css”,但它仍然无效。 请帮助!

enter image description here enter image description here

    

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!--Import Google Icon Font-->
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" 
rel="stylesheet">
  <!--Import materialize.css-->
  <link type="text/css" rel="stylesheet" href="css/materialize.min.css"  
media="screen,projection"/>

<!-- Compiled and minified CSS -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/
 materialize/0.100.2/css/materialize.min.css">
  <link rel="stylesheet" href="css\styles.css">

  <title>Portfolio</title>
</head>
<body>
    <nav>
    <div class="nav-wrapper blue-grey darken-1">
  <a href="#!" class="brand-logo"><span class="logo "<b>Shubham Chinda</b>
</span></a>
  <a href="#" data-activates="mobile-demo" class="button-collapse"><i 
class="material-icons">menu</i></a>
      <ul class="right hide-on-med-and-down">
        <li><a href="#">Services</a></li>
        <li><a href="#">Projects</a></li>
        <li><a href="#">About</a></li>
        <li><a href="#">Contact</a></li>
      </ul>
      <ul class="side-nav" id="mobile-demo">
        <li><a href="#">Services</a></li>
        <li><a href="#">Projects</a></li>
        <li><a href="#">About</a></li>
        <li><a href="#">Contact</a></li>
       </ul>
     </div>
  </nav>
    <!-- parallax -->
  <div class="parallax-container">
    <div class="parallax"><img src="photo\pexels-photo.jpg"></div>
  </div>

<!--Import jQuery before materialize.js-->
<script type="text/javascript" 
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js">
</script>
    <!-- Compiled and minified JavaScript -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs
  /materialize/0.98.2/js/materialize.min.js"></script>
  <script type="text/javacript" src="js\javscript.js"></script>
 </body>
 </html>

0 个答案:

没有答案