Hi Friends,

I have a question in tables, what is frame attribute in the table tag

Dani AI

Generated

— short answer: the table frame attribute (as @\$urya pointed out) tells the browser which parts of the table's outer border to draw. It was defined in HTML4 and accepts values like void, above, below, hsides, vsides, lhs, rhs, box, and border (see the HTML4 spec for the formal definitions) W3C HTML4 table frame.

Important practical notes:

  • frame is obsolete in HTML5. For modern, reliable control use CSS (borders, border-collapse, border-top/-bottom/-left/-right) rather than HTML attributes MDN: table element and MDN: border-collapse.
  • If you need internal rules (what HTML4 used rules for), implement them in CSS on td/th (or with selectors like :first-child / :last-child / :nth-child()).

Quick CSS equivalents (examples you can drop into your stylesheet):

/* hsides (top + bottom) */
table { border-collapse: collapse; border-top: 2px solid #333; border-bottom: 2px solid #333; }

/* vsides (left + right) */
table { border-left: 2px solid #333; border-right: 2px solid #333; }

/* box (full outer border) */
table { border: 2px solid #333; }

/* void (no outer border) */
table { border: 0; }

For and : embedding Flash is no longer recommended — use HTML5 <video>, <canvas>, SVG, or CSS/JS animations instead (see MDN's multimedia guide) MDN: Video and audio content.

Recommended Answers

All 3 Replies

Hi there,

frame attribute in table Specifies which parts of the outside borders that should be visible.
For more information regarding this you can check it here. Else can look at Tryit Editor of w3schools here
I hope this might help you in clearing your doubt.

Regards
Surya

how to insert a embed flash movie in html

How could I insert a moving picture in HTML script??????

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.