Community
    • Login

    Linking html to css

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Munawar AliM
      Munawar Ali
      last edited by

      hi i have written code in html then css in new window of notepad++ and related it by <link rel=‘stylesheet’ href=‘style.css’> but still it just shows the html on browser. what i do to link it correctly? what is problem with running of html with css?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Munawar Ali
        last edited by

        @Munawar-Ali ,

        This Notepad++ Community forum is for discussing and asking questions about the Notepad++ text editor software. It is not a generic coding forum. (*)

        Please find a forum about HTML or web coding and ask your question there.

        *: and no, just because you’re using Notepad++ to type your code doesn’t make it on topic; the answer to your question is the same, irrespective of what editor you choose to edit your source code, which makes it off-topic for this forum. We call this a “cookie baking” problem, based on a major line in our FAQ Entry

        1 Reply Last reply Reply Quote 1
        • Munawar AliM
          Munawar Ali
          last edited by

          Strange.
          I thought its a helping forum. how i find answer to my question if the community cant help then use of this forum is useless

          Alan KilbornA PeterJonesP 2 Replies Last reply Reply Quote -1
          • Alan KilbornA
            Alan Kilborn @Munawar Ali
            last edited by

            @Munawar-Ali

            Your question is not about Notepad++.
            Why is it so strange that a question not about Notepad++ does not get an answer on a forum discussing Notepad++ ?

            1 Reply Last reply Reply Quote 1
            • PeterJonesP
              PeterJones @Munawar Ali
              last edited by

              For future readers, don’t have the same misunderstanding as was expressed above: we help Notepad++ users to use Notepad++. We are quite happy to do so. I personally tackle many Notepad++-related problems in this forum nearly every day. Just look at the recent posting history for factual proof of this.

              What we cannot be is the entirety of stack exchange: we do not have experts on every possible programming language and every possible markup language and every possible cookie recipe.

              Just because you use a particular text editor to type your source code doesn’t mean that the forum for that text editor should be expected to answer any programming questions you have.

              If you have a C-programming question, go to a forum that specializes in C. If you have an HTML+CSS+JavaScript question, go to a forum about web authoring. If you have a question about cookie recipes, go to a cooking or baking forum. If you have questions about how to sort the text in your text file that you’re editing with Notepad++, this is the right place for you.

              But going back to @Munawar-Ali’s question: it was said, “still it just shows the html on browser” – that might be interpreted as “it is showing the raw HTML markup rather than the rendered webpage”. If that’s the case, then you can use Notepad++ to save the file as HTML and give it a .html extension. And when you are using Notepad++ to type your HTML and CSS files, you can have your saved HTML file in the active tab in Notepad++ and run View > View Current File in… to pick your favorite browser, and Notepad++ will issue the command for that browser to open the active file in the browser; if it’s properly saved as HTML, and the browser will render that HTML file as a local webpage; if the HTML is written correctly (with all the files in the right place relative to each other), then it will render correctly in the chosen browser.

              1 Reply Last reply Reply Quote 4
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors