Help - Search - Members - Calendar
Full Version: New to HTML
HTMLHelp Forums > General Interest > Site Review Requests
walkrsgrl37
blush.gif Hello!

I am currently take a college course in web design. Having never attempted HTML before, I was off to a challenging start. Over a 9 week course I be developing web pages that will eventually link together. I thought I could post my URL's in hopes of any tips, ideas, opinions, or other feedback that could help me develop the pages better or more effectively. It took me awhile to set the images in the pages, however I still can not figure out how to code a background image for my career.htm page. Any suggestions?

Thanks

homepage

career

bio
pandy
Hi! IPB Image

You use structural markup like headings, paragraphs and lists. That's good. But you don't always nest them correctly. You should put a doctype on all pages. Then you can use the validator at this site or at w3c to check your documents. That's a great and time saving help.
http://htmlhelp.com/reference/html40/
http://validator.w3.org/

Look at the career page for instance.
http://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes

You have a doctype on this page, but it's written wrongly. The URL part should be quoted.
http://www.htmlhelp.com/tools/validator/doctype.html

When you have corrected that, the validator will show you other errors. Here's an example.

HTML
<SPAN style="font-family:Times New Roman;">

<p><h2><strong><em>Three of My Possible Career Choices</em></strong></h2></p>


SPAN (an inline element) can't contain block level elements like P and H2. Furthermore, P can only contain inline elements, so you can't have the H2 inside P.
http://htmlhelp.com/reference/html40/block.html

You can look each element up in the reference (there are clickable links in the validator report). If you look at SPAN it says this:
Contents: Inline elements
Contained in: Inline elements, block-level elements
http://htmlhelp.com/reference/html40/special/span.html

Also, there is no such thing as BRL. Did you mean BR? happy.gif
HTML
<brl>


Give the validator a try and please ask if you don't understand its output. It can be hard to interpret the first times. smile.gif
walkrsgrl37
unsure.gif Pandy,


WOW! You helped me tremendously. The validation tool was a great help as well and it helped me to understand where I was making most of my mistakes!

THANKS-
DONNA ninja.gif
Frederiek
As for your background image question, go see the CSS reference at http://htmlhelp.com/reference/css/color-ba...background.html.
pandy
Nice. I hoped you'd like the validator. happy.gif

Forgot to mention there is one for CSS too.
http://jigsaw.w3.org/css-validator/validator.html

You don't have to think about this right now, but later on you should try to keep your CSS in a separate file or at least in a style block in head instead of using style attributes.
http://htmlhelp.com/reference/css/style-html.html
Or start at the beginning...
http://htmlhelp.com/reference/css/

Good luck! smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.