html tag presentation
TRANSCRIPT
Kymberly’s HTML Tag Presentation
Art 2830-01 – Web Design
<iframe>
• The iframe tag specifies an inline frame.
• Code Snippet:
• <iframesrc="http://www.w3schools.com"></iframe>
Attrib
ute
s!
•T
he
re are
man
y attribu
tes th
at can
be
spe
cified
with
the
<ifram
e>
tag
, bu
t we
are o
nly g
oin
g to
talk ab
ou
t the
HT
ML5 co
mp
atible
on
es
tod
ay!
name that frame!
• The name attribute can be added to an iframetag to name the frame.
height!The height attribute can be used on an iframe tag to
specify the height of the frame on the page
src
• The src attribute specifies the address of the document to embed in the <iframe>
seamless Seamless is a new attribute that
can be added to an iframe tag
The seamless tag specifies that the <iframe> should look like it
is a part of the containing document
sandbox
• Enables a set of extra restrictions for the content in the <iframe>
srcdocSpecifies the HTML content of the page to show in the
<iframe>
width•
Like th
e h
eig
ht
attribu
te, th
e w
idth
attrib
ute
is use
d to
sp
ecify th
e w
idth
of an
<
iframe
> o
n th
e p
age
…
Website Screenshot
• Here is a screenshot from a website that has an iframe on it: