xs2abhishek1237
07-20-2009, 05:28 PM
Hi all,
I am struggling to understand the <a href> concept. By definition (W3schools) "a is used to create a link to another document, by using the href attribute". However when I look at the source for web sites like www.youtube.com or any other video hosting web-site I see that their video content is linked by href="..." . But if you click on that thumbnail the video starts it's playback on the same page without refreshing the whole page which is probably because it just stays in that <div> tag. But if I click the <a href> from the source it opens the video with the whole page formatted accordingly.
So, my question is how is this all done.
Thanks & Regards,
Abhishek
I am struggling to understand the <a href> concept. By definition (W3schools) "a is used to create a link to another document, by using the href attribute". However when I look at the source for web sites like www.youtube.com or any other video hosting web-site I see that their video content is linked by href="..." . But if you click on that thumbnail the video starts it's playback on the same page without refreshing the whole page which is probably because it just stays in that <div> tag. But if I click the <a href> from the source it opens the video with the whole page formatted accordingly.
So, my question is how is this all done.
Thanks & Regards,
Abhishek