W3C home > Mailing lists > Public > www-html@w3.org > February 2005

Suggestion for <SECTION> tag

From: Adeel Javed <adeel.research@gmail.com>
Date: Tue, 15 Feb 2005 11:20:10 +0000
Message-ID: <001b01c512bd$c4f84110$f9da51cb@server>
To: <www-html@w3.org>
We need to have a new tag in HTML that allows the authors to link only a part of an external webpage.

Scenario
-------------
- Information is dynamically generated from database and displayed on webpage a.
- An author wants to display same information on webpage b. Since webpage b does not have access to the database so it cannot, the only way is to manually update it, or the other case is if there is a public xml page available and that can be displayed using stylesheets.
- But this can be done efficiently using a special tag since this type of linking is required a lot. Instead of redirecting to an external website, we could do this if there was a way to simply display only a part of external page on our webpage. For this I think a SECTION tag would do. 
----------------------------------------------------------------------------------------------------------------------------------------
<SECTION id="stockReport">
<!-- here goes the complete code that may be dynamically generated -->
</SECTION>
---------------------------------------------------------------------------------------------------------------------------------------                                                                                                     webpage a

Now this portion of the webpage could be accessed from another webpage by simply linking to this particular section of the page, using the LINK tag.
---------------------------------------------------------------------------------------------------------------------------------------<!-- where you want to display the information -->
<LINK url="url of the source page" sectionId="stockReport"/>
---------------------------------------------------------------------------------------------------------------------------------------                                                                                                     webpage b

This is a better way according to me for external linking.

--
Adeel Javed
MS Computer Sciences
University of Central Punjab
Pakistan
Received on Wednesday, 16 February 2005 07:32:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:02 GMT