PDA

View Full Version : W3 errors



dluckmal
11-11-2008, 05:33 AM
I need a dynamic iframe and i found that here-
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm.
but in the validation w3 says

there is no attribute "id".

<iframe id='myframe' src='Home/SHome.html' scrolling='no' width='100%'"></ifra…

an attribute specification must start with a name or name token.

…c='Home/SHome.html' scrolling='no' width='100%'"></iframe>

rangana
11-11-2008, 06:25 AM
What doctype are you using? Please provide a link to your page.

jscheuer1
11-11-2008, 12:12 PM
iFrame isn't valid under many DOCTYPES, use:


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">