How to link css file to html
-
<!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 {}
-
As far as I can tell, this is not a Notepad++ question, so please don’t ask it here.
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