HiveBrain v1.2.0
Get Started
← Back to all entries
patternhtmlModerate

Basic webpage structure

Submitted by: @import:stackexchange-codereview··
0
Viewed 0 times
structurewebpagebasic

Problem

I'm new to HTML coding and have created a basic webpage structure for a basic website with 5 pages.

Can anyone suggest any improvements that could help with the structure, layout and design for the pages?

Code for one of the pages is below (all the same except for the names):

```

Fellows and Fullwood LTD





Fellows and Fullwood


HomeAbout UsNewsCareersContact Us



Contact us




Your name:


Your email:

Your message:






lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here lots and lots of text here



Sidebar

Home

About Us

News

Careers

Solution



HTML 5 introduces the ` element.



Don't use presentational attributes, like
align, use CSS.



The alt attribute is mandatory. If the text that follows it duplicates the information in the image, then use
alt="".

The
longdesc attribute has been removed from HTML 5. In HTML 4 it should point to an HTML document that describes the image (for people who cannot see it), not the image itself.

Fellows and Fullwood


The
element is obsolete and should not be used (and I'm pretty sure 12 isn't a valid size for it anyway). Use CSS.


      
      


HTML 5 introduces the
element.

<!--


An Unordered List is
ul not u1.

Use a validator.

-->HomeAbout UsNewsCareersContact Us
          
      
      


HTML 5 introduces


Contact us<form  action=""


You can omit the action attribute entirely if you want to resolve to the current URI.

method="POST" enctype="multipart/form-data">
          
            
               
            


Most of the paragraphs in this form at dubious at best but this is just wrong. There is no content for the user at all, and certainly no paragraph.

Your name:


Please learn to love labels


              


In general, prefer container elements and CSS margins/paddings to hard line breaks.

is most useful when line breaks are a significant part of content which is otherwise continuous (such as street addresses or poetry).


          ©Copyright Fellows and Fullwood 2014.
      


HTML 5 introduces the
` element.

Code Snippets

<div id="Header">
<h1 align="center">
<img src="Images/fellows.gif" width="150" height="39" longdesc="Images/fellows.gif">
<font size="12">Fellows and Fullwood</font>
</h1>
      </div>
      <div id="nav">

Context

StackExchange Code Review Q#48489, answer score: 15

Revisions (0)

No revisions yet.