Class project: user-editing page for a haiku website I am making a website using just HTML and CSS for a classroom project (we are in the 2nd week of boot-camp.) I have my site made, and want to get others' opinion on the code. I am mostly looking to have the site scale properly on different browsers, but other input is appreciated as well.



body {
    font-family: 'Anton', sans-serif;
    margin: auto;
}

.top {
    background-color: #F25266;
    border: #666561 solid 1em;
}

h1 {
    color:#F4EF6B;
    text-decoration: underline;
    text-align: center;
}

.middle {
    background-color:#ECECEC;
    border-left: #666561 1em  solid;
    border-right: #666561 1em solid;
}

.pic {
   display: block;
  margin: auto;
  width: 40%;
}


form &gt; label{
    color: #2E90BF;
    column-count: 1
}


form &gt; input {
    background-color: #2E90BF;
    border-color: #666561;
    width: 14.2%;
    column-count: 1
}

#button_one {
    font-family: 'Anton', sans-serif;
    color:#FFF;
    background: #2E90BF;
    border-color: #000;
    height: 2em;
    width: 100%;
    font-size: 1em;
    cursor: pointer;
    margin-top: 1em;
}

#button_one:active {
  background-color: #2E90BF;
  transform: translateY(4px);
}

.bottom {
    background-color:#F25266;
    border: #666561 solid 1em;
}

ul {
    list-style: none;
    column-count: 10;
}


a:link {
    color: #6DBF2E;
}

a:visited {
    color: #6DBF2E;
}

a:hover { 
    color: yellow;
}
&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;Edit User&lt;/title&gt;
        &lt;!-- Google Fonts --&gt;
        &lt;link href="https://fonts.googleapis.com/css?family=Anton" rel="stylesheet"&gt;
        &lt;!-- Link to CSS Sheet --&gt;
        &lt;link type="text/css" rel="stylesheet" href="assets/stylesheets/style.css" /&gt;
    &lt;/head&gt;
    &lt;body background&gt;
    &lt;div class="top"&gt;
        &lt;h1 style&gt;User Information&lt;/h1&gt;
    &lt;/div&gt;
    &lt;div class="middle"&gt;
        &lt;img src="https://i.pinimg.com/736x/57/7b/3c/577b3c221b6ebdc218c347d1260a102e--japanese-haiku-poetry-lessons.jpg" alt="Haiku Example Pic" class="pic"/&gt;
        &lt;form&gt;
            &lt;label&gt;E-Mail:&lt;/label&gt;
            &lt;input&gt;
            &lt;label&gt;Password: &lt;/label&gt;
            &lt;input&gt;
            &lt;label&gt;Confirm Password: &lt;/label&gt;
            &lt;input&gt;
            &lt;label&gt;First Name: &lt;/label&gt;
            &lt;input&gt;
            &lt;label&gt;Last Name: &lt;/label&gt;
            &lt;input&gt;
            &lt;/br&gt;
            &lt;button type="submit" id="button_one"&gt;Submit&lt;/button&gt;
        &lt;/form&gt;
    &lt;/div&gt;
    &lt;div class="bottom"&gt;
        &lt;ul&gt;
            &lt;li&gt;&lt;a href="form_create_haiku.html"&gt;&lt;span&gt;Create Haiku&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="form_edit_haiku.html"&gt;Edit Haiku&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="form_edit_user.html"&gt;Edit User&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="form_signup_user.html"&gt;Signup User&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="haiku_list.html"&gt;List&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="haiku_one.html"&gt;One&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="haiku_rules.html"&gt;Rules&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="index.html"&gt;Index&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="user_list.html"&gt;User List&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="user_one.html"&gt;User One&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;
About the HTML

It’s typically a good idea to add a meta-charset element, which gives the character encoding of the page (e.g., "UTF-8"). This should be the first element in the head element:

&lt;head&gt;
  &lt;meta charset="utf-8" /&gt;
  &lt;!-- … --&gt;
&lt;/head&gt;


The body element can’t have a background attribute (it’s obsolete).

You should associate each label with its input. This can be done with the for attribute or by nesting the input inside the label. You can easily test if it works correctly: click the label, and the corresponding input should get the focus.

You have the closing tag &lt;/br&gt;, but miss the opening tag -- however, the br element has no closing tag to begin with, so you probably want to use &lt;br&gt; or &lt;br /&gt;. But it doesn’t seem to be correct to use br in this context anyway. br must only be used for meaningful line-breaks. If you just need some vertical space, use CSS instead.

The list seems to be navigation. If that’s the case, you could use the nav element:

&lt;nav class="bottom"&gt;
  &lt;ul&gt;
    &lt;!-- … --&gt;
  &lt;/ul&gt;
&lt;/nav&gt;