2017-07-02 2 views
0

Dies ist eine Frage, die ich nicht vollständig verstehe. Ich brauche weitere Einblicke, und ich konnte es nirgendwo anders finden.Fehlende Indexdatei Klammern IDE

Hallo an alle. Ich bekomme einen Fehler in der eckigen IDE, der so aussieht http://imgur.com/WccBRtf. Ich verstehe überhaupt nicht, was hier vor sich geht, und das liegt daran, dass ich nicht weiß, was eine HTML5-Indexdatei wirklich ist. Die Datei, die ich index.html genannt habe, ist nur der Haupt-HTML5-Code für eine Webseite, die ich ausführen möchte. Die Datei ist wie folgt

<head> 
    <!-- Title of webpage --> 
    <title> 

     Name of Guild 

    </title> 

    <!-- Link the CSS file so that the html5 can display it --> 
    <link rel = "Stylesheet" type = "text/CSS" href = "GuildPageStyle.css"> 

</head> 

<!-- Main Body of the page --> 
<body> 







    <!--Post section--> 


    <div class = "PostsSEC"> 




     <!-- The way to display multiple posts is to go through a while loop counting up until all posts have been displayed with the current pots being displayed being equal to the current post in the while loop --> 
     <p id = "PostMain"> 

      *A post* 

     </p> 

     <!--This is not the image, this is box it is in--> 
     <p id = "PostPosterBoxOR"> 

      < ORIGINAL 
      <br /> 
      POSTER 

     </p> 
     <p id = "PostPosterBoxBL"> 



     </p> 

     <!--The next section is totally reliant on a server side language. This is the likes and votes by other powered members of the group--> 





     <div id = "EndMessage">  
     <!-- Message at the end of the posts declaring that it is the end --> 
     <h1 id = "PostsEnd"> 

      That's all the current posts 

     </h1> 



     <!-- Change the something Missing to a link after completion --> 
     <h3 id = "ErrorCheckPostEnd"> 

      Something Missing? 

     </h3> 
     </div> 


    </div> 

    <!--Profile/Users/Follower barier--> 
    <div id = "Bar"> 
    </div> 

    <div id = "BackgroundBlock"> 
    </div> 

    <img src = "http://i.imgur.com/64cUAcH.png" id = "GuildLogo" /> 

    <!--The group of users--> 

    <div id = "Users"> 

    <!--Replace this section with PHP reliant on the users--> 

    </div> 

    <img src = "https://pbs.twimg.com/profile_images/855649567756476416/OHQKYYvY_400x400.jpg" id = "ProfileOne" /> 

    <img src = "https://pbs.twimg.com/profile_images/855649567756476416/OHQKYYvY_400x400.jpg" id = "ProfileTwo" /> 

    <img src = "https://pbs.twimg.com/profile_images/855649567756476416/OHQKYYvY_400x400.jpg" id = "ProfileThree" /> 

    <img src = "https://pbs.twimg.com/profile_images/855649567756476416/OHQKYYvY_400x400.jpg" id = "ProfileFour" /> 

    <img src = "https://pbs.twimg.com/profile_images/855649567756476416/OHQKYYvY_400x400.jpg" id = "ProfileFive" /> 

    <img src = "https://pbs.twimg.com/profile_images/855649567756476416/OHQKYYvY_400x400.jpg" id = "ProfileSix" /> 

    <div id = "BackgroundBlockade"> 
    </div> 

    <p id = "BioBlock"> 
    This is a bio 
    </p> 

</body> 

Jetzt bis gestern war ich voll in der Lage, die Datei in Klammern auszuführen. Dann, aus scheinbar keinem Grund, konnte ich den Code nicht mehr ausführen. Nachdem es nicht mehr funktionierte, änderte ich den Namen der HTML5-Datei in index.html und behielt die CSS-Datei genau gleich. Ich habe keine Ahnung was los ist und konnte nichts verstehen.

Ich realisiere für den erfahreneren Programmierer das mag wie eine Frage ähnlich wie "Warum läuft dieser Code nicht", wenn alles, was falsch ist, dass sie vergessen, "std ::" zu tun, statt nur "endl ". Ich bin sehr neu in HTML5 und bin hier völlig verloren. Ich danke dir für deine Zeit. Einen schönen Abend.

Hier ist ein weiteres Bild

http://imgur.com/QELF7Ts

(Ja ich die "HTML5 Zunft Seite Html.HTML" Entfernen versuchte)

+0

Die Lösung ist einfach. Stellen Sie entweder sicher, dass Ihr aktueller Ordner eine index.html-Datei enthält, oder öffnen Sie die xxx-html-Datei in eckigen Klammern und klicken Sie dann auf Live-Vorschau, andernfalls wird versucht, Ihre index.html standardmäßig zu finden. – YinchaoOnline

+0

Ja Nein das Problem ist gelöst. Danke – Wavegunner232

+0

Ich korrigiere dich nicht. Wenn ich ja nein sage, will ich nicht klingen, als wäre ich auch nicht dankbar für deine Antwort. Es ist nur, wie ich sage "Ja, danke, die jetzt behobenen Probleme" – Wavegunner232

Antwort

0

So habe ich das Problem gelöst zu unterstützen. Indem ich das Projekt als Ordner anstatt als einzelne Datei zu einer Zeit geöffnet habe, ist es mir gelungen, es zu lösen. Problem gelöst

Verwandte Themen