Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Comments
Sergey Alexandrovich Kryukov 26-Dec-12 2:53am    
Why?! You need to explain what you want to achieve.
—SA
saifullahiit 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?
Rakesh6906 26-Dec-12 3:03am    
Please explain!
saifullahiit 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?
Rakesh6906 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

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
 
Share this answer
 
Comments
saifullahiit 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 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900