缺少索引文件Brackets IDE

时间:2017-07-02 00:45:15

标签: html css html5 brackets adobe-brackets

这是一个我不完全理解的问题。我需要进一步的见解,而我却无法在其他地方找到它。

大家好。我在括号IDE中收到类似http://imgur.com/WccBRtf的错误。我根本不了解这里发生的事情,那是因为我不知道HTML5索引文件到底是什么。我命名为index.html的文件只是我要运行的网页的主要HTML5代码。该文件如下

<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>

直到昨天,我完全能够在括号中运行该文件。然后,从我的角度来看似乎没有理由,我变得无法运行代码。在它停止工作后,我将HTML5文件的名称更改为index.html并保持CSS文件完全相同。我不知道发生了什么,并且什么也听不懂。

我意识到对于经验更丰富的程序员来说,这似乎是一个类似于&#34的问题;为什么这个代码没有运行&#34;当所有这一切都是错误的时候他们就会忘记做什么&#34; std ::&#34;而不只是写出&#34; endl&#34;。我对HTML5很新,我完全迷失在这里。我感谢你的时间。祝你度过愉快的夜晚。

这是另一张图片来帮助

http://imgur.com/QELF7Ts

(是的,我确实尝试删除&#34; HTML5公会页面html.html&#34;)

1 个答案:

答案 0 :(得分:0)

所以我已经解决了这个问题。通过一次打开项目作为文件夹而不是一个单一文件,我成功地解决了它。问题解决了