HOME

TheInfoList



OR:

XFrames was an
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing data. It defines a set of rules for encoding electronic document, documents in a format that is both human-readable and Machine-r ...
format draft for embedding HTML pages into one page which handles the layout without the problems of HTML frames. The frames technique was especially popular for navigation bars. While HTML frames are still supported for legacy websites, today’s websites assemble pages by other means.


Differences from HTML frames

Traditional HTML frames, introduced with HTML 4.0, were useful for their ability to combine several distinct web pages into a single view. However, several problems arose from the implementation and as such, frames were removed from the W3C
XHTML Extensible HyperText Markup Language (XHTML) is part of the family of XML markup languages which mirrors or extends versions of the widely used HyperText Markup Language (HTML), the language in which Web pages are formulated. While HTML, pr ...
1.1 standard. XFrames was supposed to address some of the following problems existent in HTML frames: * a web browser's “back” button failing to work intuitively * the failure to bookmark or favorite specific documents on the web page easily as well as the inability to send an individual a reference to a specific document or collection * getting trapped in a frameset * the production of different results at times when a web page containing frames is reloaded * the "Page Up" and "Page Down" keys being difficult to use due to the pointer focus being on another frame within the page * security vulnerabilities caused by the fact that a user has no way of knowing the original source of each framed document * Since frames are not supported by all agents, and the necessary </code> content is not popularly implemented, agents that do not support frames (such as search engines) fail to render pages correctly and at the same time prevent any <div class="linkinfo_desc"><a class = "desc_only" href="/html/ALL/l/s/search_engine_optimization.html" "title="search engine optimization">search engine optimization</a><span class="linkinfotext"> Search engine optimization (SEO) is the process of improving the quality and quantity of Web traffic, website traffic to a website or a web page from web search engine, search engines. SEO targets unpaid search traffic (usually referred to as ...<br></span></div>. 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. <h1><br><p> XFrames implementation</h1></p> Similar to other <div class="linkinfo_desc"><a class = "desc_only" href="/html/ALL/l/m/markup_languages.html" "title="markup languages">markup languages</a><span class="linkinfotext"> A markup language is a text-encoding system which specifies the structure and formatting of a document and potentially the relationships among its parts. Markup can control the display of a document or enrich its content to facilitate automated p ...<br></span></div>, XFrames supported a number of elements and respective attributes. The following is a simple demonstration for the proposed implementation of a frames web page: <syntaxhighlight lang="xml"> <frames xmlns="http://www.w3.org/2002/06/xframes/"> <head> <title>Home Page</title> <style type="text/css"> #header #footer #nav </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> </syntaxhighlight> The <code><frames></code> element acts as the containing element of the collection of frames. This collection is what is being referred to as the 'frameset' of a web page. Similarly to <div class="linkinfo_desc"><a class = "desc_only" href="/html/ALL/l/X/XHTML.html" "title="XHTML">XHTML</a><span class="linkinfotext"> Extensible HyperText Markup Language (XHTML) is part of the family of XML markup languages which mirrors or extends versions of the widely used HyperText Markup Language (HTML), the language in which Web pages are formulated. While HTML, pr ...<br></span></div> and <div class="linkinfo_desc"><a class = "desc_only" href="/html/ALL/l/H/HTML.html" "title="HTML">HTML</a><span class="linkinfotext"> Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets ( ...<br></span></div> markup, the <code><head></code> element contains metadata primarily used for search optimization and document description. The contained <code><style></code> element is used to include any content and layout styling. <code><group></code> groups a single or several frame elements together and can be styled accordingly. If no group style is specified, the <code>compose</code> attribute should be used to specify how the grouped frame elements are to be composed. Lastly, the <code><frame></code> element acts as the placeholder for the content of a web page specified by <div class="linkinfo_desc"><a class = "desc_only" href="/html/ALL/l/U/URL.html" "title="URL">URL</a><span class="linkinfotext"> A uniform resource locator (URL), colloquially known as an address on the Web, is a reference to a resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identi ...<br></span></div> through the <code>source</code> attribute. <h1><br><p> See also</h1></p> *<div class="linkinfo_desc"><a class = "desc_only" href="/html/ALL/l/X/XML.html" "title="XML">XML</a><span class="linkinfotext"> Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing data. It defines a set of rules for encoding electronic document, documents in a format that is both human-readable and Machine-r ...<br></span></div> *<div class="linkinfo_desc"><a class = "desc_only" href="/html/ALL/l/X/XHTML.html" "title="XHTML">XHTML</a><span class="linkinfotext"> Extensible HyperText Markup Language (XHTML) is part of the family of XML markup languages which mirrors or extends versions of the widely used HyperText Markup Language (HTML), the language in which Web pages are formulated. While HTML, pr ...<br></span></div> *<div class="linkinfo_desc"><a class = "desc_only" href="/html/ALL/l/F/Framing_(World_Wide_Web).html" "title="Framing (World Wide Web)">Framing (World Wide Web)</a><span class="linkinfotext"> In the context of a web browser, a frame is a part of a web page or browser Window (computing), window which displays content independent of its container, with the ability to load content independently. The HTML or media elements in a frame ma ...<br></span></div> * <a class="link_plain"; href="/html/ALL/l/H/HTML_element#Frames.html" ;"title="HTML element#Frames">HTML element#Frames</a> * <a class="link_plain"; href="/html/ALL/l/H/HTML_element#Frames.html" ;"title="HTML element#Frames">IFrame</a> <h1><br><p> References</h1></p> <br><a href="http://www.w3.org/TR/xframes/" target="_blank" class="mw-redirect" title="W3C Working Draft">W3C Working Draft</a><br><h1><br><p> External links</h1></p> * XFrames Resources at W3C *<br><a href="http://www.w3.org/MarkUp/" target="_blank" class="mw-redirect" title="The XHTML2 Working Group">The XHTML2 Working Group</a><br>*<br><a href="http://www.w3.org/TR/xframes/" target="_blank" class="mw-redirect" title="XFrames">XFrames</a><br>was <br><a href="http://www.w3.org/TR/2002/WD-xframes-20020806/" target="_blank" class="mw-redirect" title="W3C Working Draft on 6 August 2002">W3C Working Draft on 6 August 2002</a><br> {{DEFAULTSORT:Xframes <a class="link_plain"; href="/html/ALL/l//.html" ;"title="World Wide Web Consortium standards">World Wide Web Consortium standards</a> <a class="link_plain"; href="/html/ALL/l//.html" ;"title="XML-based standards">XML-based standards</a> <a class="link_plain"; href="/html/ALL/l//.html" ;"title="User interface markup languages">User interface markup languages</a> </div> <div id="AdvertBottom1"> </div> <center> <script src="/js/AdvertBottom1.js"> </script> </center> <footer> <div> <br><br> <br><br> <center> <br><a target="_top" href="../index.html"> HOME </a><br> <br>Content is Copyleft<br>Website design, code, and AI is Copyrighted (c) 2014-2017 by Stephen Payne<br><br> <a target="_top" href="https://donate.wikimedia.org/w/index.php?title=Special:LandingPage&country=US&uselang=en&utm_medium=sidebar&utm_source=donate&utm_campaign=C13_en.wikipedia.org"> Consider donating to Wikimedia </a><br> <br> As an Amazon Associate I earn from qualifying purchases <br> </center> </div> </footer> <div id="AddedByJS"> </div> <script src="/js/site.js"> </script> <!--#include file="inc/summary_footer.html" --> </body></html>