The HTML Marginwidth Attribute Is Used To Specifies The Left and Right Margin of The Content in An Frame Element.

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Q1.

Explain the following tags and attributes


a) Frameset tag -HTML <frame> tag define the particular area within an
HTML file where another HTML web page can be displayed. A <frame>
tag is used with <frameset>, and it divides a webpage into multiple
sections or frames, and each frame can contain different web pages
c) rows attribute-The rows attribute of <frameset> tag defines
horizontal frames
d) cols attribute-cols attribute defines vertical frames.
e) border attribute -used to specify whether or not a border should be
displayed between the frames. For this, we use two values 0 and 1,
where 0 defines no border and 1 defines the border.
f) src-src Attribute is used to specifies the document URL which is used
to display in the frame
g)marginwidth -The HTML <frame> marginwidth attribute is used to
specifies the left and right margin of the content in an frame element.
<frame marginwidth="pixels">
h)marginheight - marginheight attribute is used to specifies the top
and bottom margin of the content in an frame element
i) scrollbar-scrolling attribute is used to specify that whether the
scrollbar will be displayed or not in the <frame> element.
j) name - name attribute specifies the name of a <frame> element. The
name attribute is used to reference the element in a JavaScript, or to act
as a target for a link.
k) Framespacing- attribute of frameset tag is used to specify the
amount of spacing between the frames in a frameset.

You might also like