html - Php Localhost Error -
this html file working fine when have opened normal folder,but not working when i've tried open localhost. css , image items not loading. tags , divs showing. think problem href="public/css/bootstrap.min.css"
. how can solve issue?
<!-- optional theme --> <link rel="stylesheet" href="public/css/main.css"> <!-- owl carousel --> <link rel="stylesheet" href="public/css/owl.carousel.css"> <link rel="stylesheet" href="public/css/owl.theme.css"> <!-- include jquery --> <script src="public/js/jquery-1.11.1.js"></script> <!-- latest compiled , minified javascript --> <script src="public/js/bootstrap.min.js"></script> <script src="public/js/owl.carousel.min.js"></script> <script src="public/js/script.js"></script>
there 3 problems:
make sure folder should reside under htdocs folder xampp or lampp or under www folder wamp.
if index file under public folder, folder structure should proper.
lastly, when perfect press cntl+f5, reload css , js file.
Comments
Post a Comment