Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Differences from HTML Frames  





2 XFrames Implementation  





3 Status of XFrames  





4 See also  





5 References  





6 External links  














XFrames






Deutsch
Français

Polski
Português
Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


XFrames is an XML format for combining and organizing web based documents together on a single webpage through the use of frames. Similarly to HTML Frames, XFrames can be made useful through its power to create a content frame that is scrollable while other frames - such as sidebar menus, the header and footer remain in place on the page. XFrames will be particularly useful to web developers who will be able to modify a single document and have that modification appear on all pages that contain the document within a frame.

The main advantage of this next generation of frames is that it overcomes several of the major usability problems existing in the traditional framing system.

Although still in the working draft stages, XFrames will be replacing traditional HTML Frames.

Differences from HTML Frames[edit]

Traditional HTML frames that were introduced with HTML 4.0 were useful for their ability to combine several distinct Web pages into a single webpage view. However, several problems arose from the implementation and as such, frames have been removed from the W3C XHTML 1.1 standard. XFrames will likely address some of the following problems existent in HTML frames:

XFrames overcomes the bookmarking problem by encoding the population of the frames into the URI, thus making it possible to bookmark/add a favorite of a page successfully.

XFrames Implementation[edit]

Similar to other markup languages, XFrames will support a number of elements and respective attributes. The following is a simple demonstration for the proposed implementation of a frames webpage:

<frames xmlns="http://www.w3.org/2002/06/xframes/">
   <head>
      <title>Home Page</title>
      <style type="text/css">
         #header {height: 150px; }
         #footer {height: 50px; }
         #nav {width: 15%; }
      </style>
   </head>
   <group compose="vertical">
      <frame xml:id="header" source="banner.xhtml"/>
      <group compose="horizontal">
  <frame xml:id="main" source="news.xhtml"/>
  <frame xml:id="nav" source="nav-menu.xhtml"/>
      </group>
      <group compose="vertical">
         <frame xml:id="footer" source="disclaimer.xhtml"/>
      </group>
   </group>
</frames>

The <frames> element acts as the containing element of the collection of frames. This collection is what is being referred to as the 'frameset' of a webpage. Similarly to XHTML and HTML markups, the <head> elements contain meta-data primarily used for search optimization and document description. The contained <style> element is used to include any content and layout styling - CSS is being used here. <group> groups a single or several frame elements together and can be styled accordingly. If no group style is specified, the compose attribute should be used to specify how the grouped frame elements are to be composed. Lastly, the <frame> element acts as the placeholder for the content of a webpage specified by URL through the source attribute.

Status of XFrames[edit]

The W3C released a second Working Draft on October 12, 2005 that further explains the proposed implementation of XFrames. As of today, XFrames still remains a W3C Working Draft with no clear indication on if and when it will become a W3C Recommendation.

See also[edit]

References[edit]

External links[edit]


Retrieved from "https://en.wikipedia.org/w/index.php?title=XFrames&oldid=1098947706"

Categories: 
World Wide Web Consortium standards
XML-based standards
User interface markup languages
Hidden categories: 
Wikipedia articles in need of updating from October 2013
All Wikipedia articles in need of updating
 



This page was last edited on 18 July 2022, at 07:25 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki