Beruflich Dokumente
Kultur Dokumente
<frameset cols="25%,50%,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
Framset
Attribute Value Description
frameborder 0 Not supported in HTML5.
1 Specifies whether or not to display a border
around a frame
longdesc URL Not supported in HTML5.
Specifies a page that contains a long
description of the content of a frame
marginheight pixels Not supported in HTML5.
Specifies the top and bottom margins of a
frame
marginwidth pixels Not supported in HTML5.
Specifies the left and right margins of a frame
Framset
Attribute Value Description
name text Not supported in HTML5.
Specifies the name of a frame
noresize noresize Not supported in HTML5.
Specifies that a frame is not resizable
scrolling yes Not supported in HTML5.
no Specifies whether or not to display scrollbars in
auto a frame
src URL Not supported in HTML5.
Specifies the URL of the document to show in a
frame
Frameset
Vertical frameset
A vertical frameset with three different
documents.
Frameset
<!DOCTYPE html>
<html>
<frameset rows="50%,50%">
<frame src="frame_a.htm">
<frameset cols="25%,75%">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</frameset>
</html>
Frameset
Horizontal frameset
A horizontal frameset with three different
documents.
Frameset
<!DOCTYPE html>
<html>
<frameset rows="25%,*,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</html>
Frameset
Mixed frameset
A frameset with three documents, and how to
mix them in rows and columns.
Frameset
<!DOCTYPE html>
<html>
<frameset rows="50%,50%">
<frame src="frame_a.htm">
<frameset cols="25%,75%">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</frameset>
</html>
Frameset
Frameset with noresize="noresize"
The frames are not resizable. Move the mouse
over the borders between the frames and notice
that you can not move the borders.
Frameset
<!DOCTYPE html>
<html>
<frameset cols="50%,*,25%">
<frame src="frame_a.htm" noresize="noresize">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</html>
Frameset
Attribute Value Description
Syntax
<a target="_blank|_self|_parent|_top|framename">
Target
Value Description
_self Opens the linked document in the same frame as it was clicked (this is
default)
_top Opens the linked document in the full body of the window
</body>
</html>
Hyperlink
• Definition and Usage
• The href attribute specifies the URL of the
page the link goes to.
• If the href attribute is not present, the <a> tag
is not a hyperlink.
Hyperlink
Syntax
<a href="URL">
Hyperlink
Value Description
URL The URL of the link.Possible values:
•An absolute URL - points to another web site (like
href="http://www.example.com/default.htm")
•A relative URL - points to a file within a web site (like
href="default.htm")
•Link to an element with a specified id within the page
(like href="#top")
•Other protocols (like https://, ftp://, mailto:, file:,
etc..)
•A script (like href="javascript:alert('Hello');")
Hyperlink
• Link to an element with a specified id within a
page (the name attribute is not supported in
HTML5):
<a href="mailto:someone@example.com?
Subject=Hello%20again">Send mail!</a>