html b oot c amp chapter 11 frames kirkwood continuing education © copyright 2015, fred mcclurg all...
TRANSCRIPT
HTML BOOT CAMP
Chapter 11Frames
Kirkwood Continuing Education
© Copyright 2015, Fred McClurg All Rights Reserved
<frameset> and <frame> Tag
Description: Defines a browser page into multiple independent window frames.
<!DOCTYPE html>
<html>
<frameset cols="25%,25%,*">
<frame src="one.html"
noresize="noresize">
<frame src="two.html">
<frame src="three.html">
<noframes>
Unable to view frame.
</noframes>
</frameset>
</html>
2
Chapter 11 > Frameset and Frame
Naming <frame> Tag
<!DOCTYPE html>
<html>
<frameset cols="25%,*">
<frame src="toc.html">
<frame src="cover.html"
name="content”>
<noframes>
Unable to view frame.
</noframes>
</frameset>
</html>
3
Chapter 11 > Link to Frame
Linking <frame> via “target”
Description: The <a> tag links a window frame via the “target” attribute.
Example:<dl>
<dt>
<a href="chapter01.html"
target="content">
Chapter 1</a>
</dt>
</dl>
4
Chapter 11 > Link to Frame