Thursday, August 20, 2015

How to Open Up a New Tab in HTML (6 Steps)


Open Windows Notepad or another text or HTML editor on your computer. Open the HTML file in which you want to place links that open in a new tab or window.
Position the cursor at the point in the HTML code where you want to place the link. Enter the following HTML code:http://www.somesite.com/somepage.htm' target='_blank'>Link Text
Change the 'http://www.somesite.com/somepage.htm' value to the actual website and page to open with the link.
Change the 'Link Text' value to the text you want to display for the link. For instance, 'Click Here to go to Somesite.com' or any other descriptive text.
Click 'File,' then 'Save' on the editor toolbar.
Use an FTP program or log in to the control panel of your Web hosting account to upload the new HTML file to your site. When visitors click links formatted with the above syntax, Web pages will open in a new tab if the browser supports the option. If the browser does not support tabbed pages, the link will open and display the Web page in a new browser window.
VPS Hosting

No comments:

Post a Comment