How do I fix my nav bar after adding an H1 tag?

I want the text Home About etc to be in the top right corner. I added an h1 tag and div and it went crazy.

Heres the code.

body {
  background-color: #645E57;
  margin: 0;
  margin-top: -17px;
}
#nav ul li{
  float: right;
  text-align:right;
  font-size: 17px;
  font-family: Comic sans ms;
  margin-left: 11px;
  width: 200px
  margin-right:50px;
  margin-right: 70px;
  padding: 9px;
  list-style-type: none;
  
  margin-top: -18px;
  text-transform: uppercase;
  box-shadow: 3px 1px 3px black;
  font-weight: bold;
  
  }
#nav ul li a {
  text-decoration: none; 
}
#nav {
  float:right;
    width:1950px;
  height: 35px;
  background-color: #11181C;
  border: 1px solid black;
  box-shadow: 5px 6px 15px black;
  opacity: .9999
  }

#nav ul li a:hover {
  background-color: black;
  color: #fff;
  
}
#tbd {
  border: 1px solid black;
  width: 430px;
  height: 430px;
  background-color: #EFD72D;
  float: left;
  font-size: 70px;
  margin-top: 27px;
  text-align: center;
  list-style-type: none;
  box-shadow: 5px 6px 33px black;
  margin-top:32px;
  line-height: 500px;
  position: absolute;
  left:55px;
  top: 88px;
}
#projects {
  border: 1px solid black;
  width: 430px;
  height: 370px;
  background-color: #5D83A2;
  float: left;
  font-size: 70px;
  margin-top: 87px;
  text-align: center;
  list-style-type: none;
  box-shadow: 5px 6px 33px black;
  line-height: 333px;
position: absolute;
  left:500px;
  top: 65px;
}
#contact {
  border: 1px solid black;
  width: 430px;
  height: 370px;
  background-color: #7A86C9;
  float: left;
  font-size: 70px;
  margin-top: 87px;
  text-align: center;
  list-style-type: none;
  box-shadow: 5px 6px 33px black;
  line-height: 333px;
  position: absolute;
  left:950px;
  top: 65px;
}

#about {
  border: 1px solid black;
  width: 430px;
  height: 430px;
  background-color: #DCD9DD;
  float: left;
  font-size: 70px;
  line-height: 500px;
  margin-top: 27px;
  text-align: center;
  list-style-type: none;
  box-shadow: 5px 6px 33px black;
  margin-top:32px;
position: absolute;
  left:1396px;
  top: 88px;
}
#boxes {
  
  margin-left: 50px;
  margin-top:  
}

a {
   text-decoration:none;
}

#boxes tbd li a {
  margin-top: 
}
.tbd {
  width: 430px;
  height:430px;
  display: block;
}
.projectslink {
  width: 430px;
  height:370px;
  display: block;
}
.contactlink {
  width: 430px;
  height:370px;
  display: block;
}
.aboutlink {
  width: 430px;
  height:430px;
  display: block;
}
#thanks {
  margin-top:450px;
  margin-left: 540px;
  font-size:80px;
  font-weight:bold;
  z-index:200;
}
#textmid {
  height: 500px
    width:500px;
  width:639px;
  background-color:#F51E19;
  margin-left: 620px;
  margin-top: 460px;
  font-size: 80px;
   box-shadow: 5px 6px 21px black;
  color: white;
  border: 2px solid white;
}
#portfolio {
  margin-left: 660px;
  position:relative;
  font-size:40px;
  float: left;
  margin-top: -20px;
  color:#fff;
  
}

h1 {
    box-shadow: 11px 11px 15px black;
}
<!DOC type>
<html>
 <head>
   <title></title>
  </head>
   <body>
<article id="top">
<section id='navandboxes'>
  <div id="nav">
    
        <li><a href="index.html">Home</></a></li>
        <li><a href="index.html">Projects</></a></li>
				<li><a href="index.html">Contact Me</a></li>
				<li><a href="index.html">About</a></li>
			</ul>
			</div>
<div id="portfolio"><h1>~~ Victor's Portfolio Page ~~</h1></div>
			<ul>
	<div id="boxes">
			<ul>
        <div id='tbd'><li><a class="tbd" href="index.html">TBD</div></a></li>
        <div id='projects'><li><a class="projectslink" href="index.html">Projects</div></a></li>
				<div id='contact'><li><a class="contactlink" href="index.html">Contact Me</div></a></li>
				<div id='about'><li><a class="aboutlink" href="index.html">About</div></a></li>
			</ul>
			</div>
<div style="clear:both;"></div>
<section>

<section id='textmiddle'>
 <div id="textmid"> Thanks for viewing my Portfolio Page. Click on any of the tiles to view TBD, My Projects, etc.</h1>
  </div>
  
  </section>
  
  
  
</article>
</body>
</html>
<div id="textmid"> Thanks for viewing my Portfolio Page. Click on any of the tiles to view TBD, My Projects, etc.</h1>
  </div>

There isn’t a starting h1

Good:

<div id="textmid"><h1> Thanks for viewing my Portfolio Page. Click on any of the tiles to view TBD, My Projects, etc.</h1>
  </div>
1 Like