Community
    • Login

    How to link css file to html

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 3.0k 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.
    • Some Body169S Offline
      Some Body169
      last edited by

      <!doctype html>
      <html>
      <head>
      <link rel=“stylesheet” href=“style1.css”>
      </head>
      <body>
      <div id=“centered”>
      <title>Connor Lamb For Senate!</title>
      <h1>Connor Lamb For Senate!</h1>
      <h2>Vote For Connor Lamb Today!</h2>
      <h3>Autobiography</h3>
      <p>Connor Lamb, a distinguishable man of whom fought in the military as a marine. As a marine in the army Connor Lamb knows what must be done in order for our civilization to survive.</p>
      <h1>The Man Who Cares</h1>
      <p>Connor Lamb hates those people who say they will change things if they get elected, and when they do get elected they never stick with their word.</p>
      </div>
      </body>
      </html>
      Next code is the css
      h1 {
      text-align: center;
      maragin: 0;
      padding: 0;
      padding-top: 10px;
      }
      {
      width: 800px;
      text-align: left;
      bordder: 0px;
      padding: 0;
      margin; 0 auto;
      }
      h2 {
      font-size: 14;
      }
      h3 {

      }

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS Offline
        Scott Sumner @Some Body169
        last edited by

        @Some-Body169

        As far as I can tell, this is not a Notepad++ question, so please don’t ask it here.

        1 Reply Last reply Reply Quote 0

        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