![]() ![]() |
6.6:H206005 Provide a NOFRAMES section when using FRAMEs.Improper designBelow is an improper example that when browser do not support frameset, no other replacement method was provided. Improper design: <FRAMESET rows="*" cols="*,50%" framespacing="0" frameborder="1" border="1"> <FRAME src="a.jsp" title="Taiwan weather forecast"> <FRAME src="b.jsp" title="Today¡¦s share market"> </FRAMESET> End of example Proper demonstrationWhen browser do not support frameset, use NOFRAMES label to show NOFRAMES contents. Proper example: <FRAMESET rows="*" cols="*,50%" framespacing="0" frameborder="1" border="1"> <FRAME src="a.jsp" title="Taiwan weather forecast"> <FRAME src="b.jsp" title="Today¡¦s share market"> </FRAMESET> <NOFRAMES> <P>Taiwan weather forecast...(a.jsp content)</P> <P>Today¡¦s share market...(b.jsp content)</P> </NOFRAMES> End of example |
![]() |