+ 1

How can i create a html link which on clicking displays information but on same tab..like we use in fb etc

31st Mar 2018, 6:58 PM
Abhishek Baliyan
Abhishek Baliyan - avatar
4 odpowiedzi
+ 4
Just don't use "target" attribute
31st Mar 2018, 7:02 PM
Toni Isotalo
Toni Isotalo - avatar
+ 4
The target attribute specifies where to open the linked document. The target attribute can have one of the following values: _blank - Opens the linked document in a new window or tab _self - Opens the linked document in the same window/tab as it was clicked (this is default) _parent - Opens the linked document in the parent frame _top - Opens the linked document in the full body of the window framename - Opens the linked document in a named frame
31st Mar 2018, 7:11 PM
Baraa AB
Baraa AB - avatar
+ 4
Note that in addition to the previous information given, you won't neccessarily have full control over whether it opens in the same tab or another tab or window, due to possible end user browser settings. For instance not using the target attribute will follow the default click setting that is defined for the browser in use. Also, as Baraa AB stated, using _blank will follow the browsers setting and either open in a new tab or in a new browser window. Your best bet is use target="_self" as this should work under most if not all circumstances.
31st Mar 2018, 7:17 PM
ChaoticDawg
ChaoticDawg - avatar
+ 1
How can can i add text to that link
31st Mar 2018, 7:15 PM
Abhishek Baliyan
Abhishek Baliyan - avatar