Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
i want to use a specified tag of a website in my webpage. can somebody please tell me how to do it?
Thanks in advance
Posted 25-Dec-12 20:34pm
Comments
Sergey Alexandrovich Kryukov at 26-Dec-12 2:53am
   
Why?! You need to explain what you want to achieve.
—SA
saifullahiit at 26-Dec-12 3:19am
   
suppose there is a webpage say www.codeproject.com. it has an html tag say Question tag. now i want to put that Question tag in my webpage which is www.saif.com. so that user open saif.com webpage and that shows to him Question tag of codeproject.com. Clear now?
robotwithdefects at 26-Dec-12 3:03am
   
Please explain!
saifullahiit at 26-Dec-12 3:19am
   
suppose there is a webpage say www.codeproject.com. it has an html tag say Question tag.
now i want to put that Question tag in my webpage which is www.saif.com. so that user open saif.com webpage and that shows to him Question tag of codeproject.com.
Clear now?
robotwithdefects at 26-Dec-12 3:45am
   
Html tags are predefined and hence there are limited tags which can be used in any website. They work same everywhere.
 
If you are thinking of displaying other webpage content in your page, you can do it with either div or iframe tag..
 
Is this the requirement?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

A "tag" probably means HTML custom tags (as in XML, all tags are "custom").
 
In principle, such thing is possible. Here is the short explanation of the technique and usage:
http://cherianajay.hubpages.com/hub/extented-HTML-tags[^].
 
However, I would strongly advise against doing it. I would advise to read this discussion and thing thoroughly:
http://stackoverflow.com/questions/8906448/custom-tags-why-not[^].
 
Read some more on related topics: http://bit.ly/WQ4B8W[^].
 
For all practical purposes, I would rather believe that you can implement whatever you want without custom tags. But first, you would need to explain what exactly do you want to achieve and why. It's a good idea to start every your question with the explanation of your ultimate goal. This can bring you a good advice even if your main question is based on some preoccupation with a wrong idea.
 
—SA
  Permalink  
Comments
saifullahiit at 26-Dec-12 3:20am
   
suppose there is a webpage say www.codeproject.com. it has an html tag say Question tag. now i want to put that Question tag in my webpage which is www.saif.com. so that user open saif.com webpage and that shows to him Question tag of codeproject.com. Clear now?
Sergey Alexandrovich Kryukov at 26-Dec-12 12:17pm
   
I understand, but such practice is best avoided. Your desire to put that tag on your webpage is not an ultimate goal. Tags are not something shown the the Web page user, right? They are used for some behavior: rendering and navigation. And you can get those desired effects without using of custom tags.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 470
1 Gihan Liyanage 317
2 ClimerChinna 182
3 vikinghunter 176
4 OriginalGriff 141
0 Sergey Alexandrovich Kryukov 8,653
1 OriginalGriff 7,132
2 CPallini 2,598
3 Richard MacCutchan 2,060
4 Abhinav S 1,808


Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 26 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100