dragonsfire1981 Posted January 13, 2017 Share Posted January 13, 2017 Hi everyone, I've got a form on a site. http://healthcareinsured.co.uk/ If you look at the bottom of the forms, there are hyperlinks to Contact and Terms and Conditions. When they are clicked on however the page opens up inside the form, what I want is for them to appear in a new tab. Is this possible? The exact bid of hard coding I have used in the PHP form (after Paragraph style) is here: >By clicking Get My Free Quote you agree to be contacted by telephone or email by an FCA authorised insurance firm and confirm that you have read <a href="http://healthcareinsured.co.uk/terms-and-conditions/">Terms & Conditions</a> and agreed to our <a href="http://healthcareinsured.co.uk/privacy-policy/">Privacy Policy</a> </p> Link to comment Share on other sites More sharing options...
Ingolme Posted January 13, 2017 Share Posted January 13, 2017 Oh, it's an iframe, I would recommend against using those. But to answer your question, set the target attribute of the links: <a target="_blank" href=""> These are the four reserved values for the target attribute: _blank: Opens new tab or window. _self: Default. Opens in current frame or window. _parent: Opens in the parent frame or window. _top: Opens in the current browser window. Using any other value will open the link in a window or frame with the specified name. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now