我不知道爲什麼這個代碼不工作...因爲我是一個初學者我找不到什麼錯,在此先感謝任何人誰幫助我走出旋轉木馬在HTML工作不
<!DOCTYPE html>
<html>
<head>
<title>Jothidhal</title>
<meta charset = "utf-8">
<meta name = "viewport" content = "width = device-width" , initial-scale = 1>
<link rel = "stylesheet" type = "text/css" href = "css/bootstrap.min.css">
<link rel = "stylesheet" type = "text/css" href = "additional.css">
<link href="https://fonts.googleapis.com/css?family=Arsenal:700" rel="stylesheet">
</head>
<body>
<div class = "container-fluid">
<div id = "My_Carousel" class = "carousel-slide" data-ride = "carousel">
<ol class = "carousel-indicators">
<li data-target = "#My_Carousel" data-slide-to = "0" class = "active"> </li>
<li data-target = "#My_Carousel" data-slide-to = "1" > </li>
<li data-target = "#My_Carousel" data-slide-to = "2" > </li>
</ol>
<div class = "carousel-inner" role ="listbox">
<div class = "item"><img src = "images/images 1.jpg" alt = "Durairaj" width = "100%" height = "400px"</div>
<div class = "item"><img src = "images/images 2.jpg" alt = "Durairaj" width = "100%" height = "400px"</div>
<div class = "item"><img src = "images/images 3.jpg" alt = "Durairaj" width = "100%" height = "400px"</div>
<div class = "item"><img src = "images/images 4.jpg" alt = "Durairaj" width = "100%" height = "400px"</div>
<div class = "item"><img src = "images/images 5.jpg" alt = "Durairaj" width = "100%" height = "400px"</div>
<div class = "item"><img src = "images/images 6.jpg" alt = "Durairaj" width = "100%" height = "400px"</div>
</div>
<a class = "left-carousel-control" href = "#My_Carousel" role= "button" data-slide = "prev">
<span class = "glyphicon glyphicon-chevron-left"></span>
<span class = "sr-only">Previous</span>
</a>
</div>
</div>
<script type = "text/javascript" src = "js/bootstrap.min.js"></script>
<script type = "text/javascript" src = "js/jquery.js"></script>
</body>
</html>
它確實有助於描述會發生什麼,而不是隻是它不工作:) –
你有什麼錯誤? –
其實,先生,我沒有得到輸出,沒有任何圖像顯示,很困惑! –