html tag presentation

11
Kymberly’s HTML Tag Presentation Art 2830-01 Web Design

Upload: kfalgout

Post on 13-Jul-2015

135 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Html tag presentation

Kymberly’s HTML Tag Presentation

Art 2830-01 – Web Design

Page 2: Html tag presentation

<iframe>

• The iframe tag specifies an inline frame.

• Code Snippet:

• <iframesrc="http://www.w3schools.com"></iframe>

Page 3: Html tag presentation

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!

Page 4: Html tag presentation

name that frame!

• The name attribute can be added to an iframetag to name the frame.

Page 5: Html tag presentation

height!The height attribute can be used on an iframe tag to

specify the height of the frame on the page

Page 6: Html tag presentation

src

• The src attribute specifies the address of the document to embed in the <iframe>

Page 7: Html tag presentation

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

Page 8: Html tag presentation

sandbox

• Enables a set of extra restrictions for the content in the <iframe>

Page 9: Html tag presentation

srcdocSpecifies the HTML content of the page to show in the

<iframe>

Page 10: Html tag presentation

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

Page 11: Html tag presentation

Website Screenshot

• Here is a screenshot from a website that has an iframe on it: