This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
please help

i dont know what i did wrong but the W3C HTML Validator says that theres 6 errors in my code

1. 2."http://www.w3.org/TR/html4/loose.dtd">
3.
4.
5.
6.welcome
7.
8.
16.
17.
18.
19.
20.untitled
21.
31.
56.
57.
58.
59.
60.
61.
70.
71.
72.
84.
85.

62.
68.
69.

73.

74.
80.
81.

82.

83.

86.
92.
93.
94.
95.
96.


97.
98.
99.
100.

101.
102.Main Page
103.Forum
104.Featured Games
105.bloonstowerdefense4
106.bloonstowerdefense3
107.tank2008
108.allgames
109.
110.

111.
112.

113.
114.

115.
116.

117.
118.
119.
120.
121.

Welcome

Welcome to my first website, visit the forum for more info.


122.

123.
124.
125.
126.

127.
128.

129.

130.Report Content
131.·
132.
133.·
134.Web Hosting
135.·
136.Blog
137.·
138.Guestbooks
139.·
140.Message Forums
141.·
142.Mailing Lists

143.
144.Easiest Website Builder ever!
145.·
146.Build your own toolbar
147.·
148.Free Talking Character
149.·
150.Email Marketing

151.
152.powered by a free webtools company bravenet.com
153.


154.
155.
161.
162.
163.
164.
165.
166.

Re: please help

You need to understand what "validation" really means. An error does not mean you did something wrong and your page will not work as intended. It only means that when it was checked, there were some lines that did not exactly meet the grammar, vocabulary and syntax for DOCTYPE you have declared. Validation is simply the process of checking your web document against the grammer it claims to be using. In you case, the first line of your document claims to be using "HTML 4.01 Transitional".

It is similar to a word processor checking your written document. You may be missing a comma or two, end a sentence in a proposition, or spell a word wrong. That doesn't mean it isn't readable or doesn't get the point across. But fixing the issues may make it easier to read and understand.

The messages from the validator generally tell you exactly what to do. However, they are often a little cryptic. For example, your first error reads as follows:

Line 8, Column 7: required attribute "TYPE" not specified

All they are telling you is that "HTML 4.01 Transitional" syntax requires a "type" definition in the "style" tag. So you need to change

Code:
<style>
to
Code:
<style type="text/css">
to eliminate the error.

The three errors that are flagged for line 17, 18, and 51 can not be fixed. These are Bravenet errors, introduced when they inserted their advertisements. The only way to get rid of them is to upgrade to paid hosting. Then the advertisements will go away.

The last two, line 112 and 114 are simple syntax omissions. The messages are saying that "HTML 4.01 Transitional" syntax requires a "alt" attribute for the "img" element. The "alt" attribute specifies an alternate text item that will display if the image is not available. This is not the same as mouse over text. So to fix say error 112, you need to change
Code:
<div id="leftnav"><img src="galaxy.bmp"></div>
to something like
Code:
<div id="leftnav"><img src="galaxy.bmp" <span style="color: red;">alt="galaxy.bmb background"</span>></div>


The error at line 114 will be a similar fix. In the end, as long as you run a free web site, you will always have at least three errors that can not be fixed. But that is Bravenet's code causing the errors, so your web page will be "W3C HTML Valid". I also checked your style sheet, and that came up with no errors and is "W3C CSS Valid" to "level 2.1".

But also note that your page really doesn't have anything on it yet. Just a couple of links and images. Once you start adding some real content, you may start seeing dozens of errors. But if the page displays the way you want it to, in multiple browsers, I wouldn't worry too much about validation.

Also note that, the validation is only for that one page. Each page must be validated individually.

Browser: FIrefox

OS: Solaris, Redhat, Fedora, Suse

Re: please help

thanks for the help i dont realy know what to make my main page look like im still new at this stuff

Re: please help

plus do you know how to make the reply box thats an some free flash game websites below the game?

Re: please help

kingjackIVV
plus do you know how to make the reply box thats an some free flash game websites below the game?


I do not do any gaming, so I'm not sure exactly what you are talking about.

Are you are talking about the reply boxes where visitors can post short comments about the game or in response to other posters? These are usually embedded services that are often referred to as "widgets". An example can be had at widgetbox - Realtime Comments. Being an embedded feature that is really hosted on a different server, the service can usually be use on free and paid web site. All you have to do is create the space for the responses.

Or, are you talking about a email form, where visitors can submit comments and suggestions directly to you? Bravenet provides a free email form service so that your visitors can contact you, without the need to show everyone your email address. That helps protect you a little from spammers.

Browser: FIrefox

OS: Solaris, Redhat, Fedora, Suse

Re: please help

one last question how do i get the links at the middle of my horivontalnav to look like cool buttons?

Re: please help

First get the graphic that you want your button to look like then you add a link to that button.

Do research on how to do this under "How to make cool buttons for web sites."

This is one link that I got with the above: http://www.hooverwebdesign.com/freebuttons/

Re: please help

I am very confused with codes! Need some air!



______________
Free Websites

Browser: Chrome

OS: Win Xp