PDA

View Full Version : Help with HTML code.. (Frameset stuff)



mdjstudios
February 9th, 2005, 11:12 AM
Hey guys. When i upload my .htm file on the W3 Validator, i get errrors. How can i make it so that i wont have any errors? Thanks, again.

( W3 Validator - http://validator.w3.org )



<html>

<frameset rows="12%,90%">
<frame src="title.htm">
<frameset cols="19%,81%">
<frame src="menu.htm">
<frame src="personal.htm" name="showframe">
</frameset>

</html>

bwh2
February 9th, 2005, 11:42 AM
you've only used closing tags for one of your framesets.

mdjstudios
February 9th, 2005, 12:06 PM
How many tags do i need? with two of them or three of them, i still have errors. Any other advice?

mdjstudios
February 9th, 2005, 12:07 PM
Here are some of the common errors i get from the validator:

Line 5, column 15: there is no attribute "rows"
Line 5, column 24: element "frameset" undefined
Line 6, column 11: there is no attribute "src"
Line 6, column 22: element "frame" undefined

~ЯאַR~}{('~
February 9th, 2005, 12:58 PM
eery time you open a tag <frame>, you have to close it </frame> thats what bwh2 said, and you are not defining 1 of your documents that gotta be loaded on the frameset, theres only 2


<frame src="menu.htm">
<frame src="personal.htm" name="showframe">

those 2 declared documents load and HTML document for the frames that are on left and right, but you are have not defined a third document, the one that is going to be displayed on the top frame

mdjstudios
February 9th, 2005, 06:01 PM
So it would be something like


</frame src>

for the closing tags? can you show me what i need to put?

thesparky007
February 13th, 2005, 08:25 PM
lol
u dont close frame sources
i think u can put the cols and rows in the same frameset tag
btw,whr did ur head tag go?
basic html!!!!!!!!!!
might be the mistake