HTML CSS Reference/HTML Attributes Reference/frameborder

Материал из Web эксперт
Перейти к: навигация, поиск

"frameborder" Example

<HTML>
<head><Title>Example For frameborder</Title></head>
<frameset rows="*" 
          cols="125,*" 
          frameborder="yes" 
          border="20px" 
          framespacing="5">
   <frame name="leftFrame" 
          scrolling="NO" 
          noresize 
          src="http://www.wbex.ru">
     <frameset rows="200,*" 
               border="15px" 
               framespacing="0">
        <frame name="topFrame" 
               noresize 
               scrolling="NO" 
               src="http://www.wbex.ru">
        <frame name="mainFrame" src="http://www.wbex.ru">
     </frameset>
</frameset>
</HTML>



frameborder is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<embed>                         <frame>                       |
|                |<frameset>                      <iframe>                      |
+----------------+--------------------------------------------------------------+



"frameborder" Syntax and Note

Note:
    
Whether to display a border around a frame or frameset. 
Possible values include 0 or no, and 1 or yes.
0 or no means no border
1 or yes means display
Default value is 1 or yes
    
Syntax:
    
<element frameborder="value"> . . . </element>