Computer Science, asked by Anonymous, 4 months ago

✏️What is the difference between frame and border tags in html?✏️​

Answers

Answered by Sowmya6116
1

Answer:

The purpose of the HTML frameborder attribute is to specify whether or not to display a border around a frame. The value of this attribute can be set to “1” or “0”.

...

Value.

Value Description

1 To display a border around the frame / iframe. Default value.

0 Not to display a border around the frame/ iframe

Answered by IᴛᴢBʟᴜsʜʏQᴜᴇᴇɴ
9

Answer:

There is no difference; they're aliases of each other. From the HTML 4.01 spec:

This attribute specifies which sides of the frame surrounding a table will be visible. Possible values:

...

box: All four sides.

border: All four sides.

Today, pretty much the only right way to use them is to not use them. Table border styles should be defined using CSS instead of presentational attributes, of which frame is an example, albeit a rather obscure one. Browser support for this attribute seems quite patchy anyway, again owing to its obscurity.

Explanation:

Pʟs ᴍᴀʀᴋ ᴀs ʙʀᴀɪɴʟɪᴀsᴛ ᴀɴᴅ ғᴏʟʟᴏᴡ ᴍᴇ✌️

Similar questions