Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    websitescsshtml
    4 Posts 2 Posters 2.9k Views 2 Watching
    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.
    • LunaWolfL Offline
      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 SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS Offline
        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
        • LunaWolfL Offline
          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 SumnerS Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors