Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How can i use HTML and CSS in the same document?

    Help wanted · · · – – – · · ·
    websites css html
    2
    4
    2036
    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.
    • LunaWolf
      LunaWolf last edited by

      Hello, i decided to make a website using notepad++ for the first time. Now i’m quite new to coding in HTML and CSS but i thought they could be used in the same document, however when i tested the first part of my code it didn’t work. I have put my CSS code in script tags so i’m confused why its not working. Would you please help me sort out my problem?

      Scott Sumner 1 Reply Last reply Reply Quote 0
      • Scott Sumner
        Scott Sumner @LunaWolf last edited by

        @LunaWolf

        Sorry, this is not a Notepad++ question, so this is the wrong place to ask this.

        This is like writing a novel using Microsoft Word, having a publisher reject it, and then you asking Microsoft what was wrong with your book. :-)

        1 Reply Last reply Reply Quote 0
        • LunaWolf
          LunaWolf last edited by

          I don’t see ow this is not a notepad++ question. So ill rephrase it. Is there a way to have HTML code and CSS code in one document together rather than having to write them separately then import it?

          1 Reply Last reply Reply Quote 0
          • Scott Sumner
            Scott Sumner last edited by

            I do maintain that it is not a Notepad++ question. It is a question about the CONTENT of a file you can create with any text editor. But, in the spirit of trying to be helpful, there might be something of use at the link below (don’t really know, I’m not into HTML/CSS):

            http://lmgtfy.com/?q=html+and+css+in+same+file

            1 Reply Last reply Reply Quote 2
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors