How to Insert Hyperlink in HTML Page?
Chapter Summary. Use the element to define a link. Use the href attribute to define the link address. Use the target attribute to define where to open the linked document. Use the element (inside) to use an image as a link. Use the mailto: scheme inside the href attribute to create a. You simply: Specify the target in the. Then add the text that should work as a link. Finally add an tag to indicate where the link ends.
An HTML link is displayed in a different color depending on whether it has been visited, is unvisited, or is active. Here, an unvisited link will be green with no underline. A visited link will be pink with no underline. An active link will be yellow and what is the sound of a heart murmur. In addition, when mousing over a link a:hover it will become red and underlined:.
Get certified by completing a course today! If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:. Tutorials References Exercises Menu. Buy Courses. Links Link Colors Link Bookmarks. Example Here, an unvisited link will be green with no underline.
Copyright by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.
The tags used to produce links are the and. The tells where the link should start and the indicates where the link ends. Everything between these two will work as a link. The target of the link is added to the tag using. Apr 10, · The easiest way to convert your Word document to HTML is to use Microsoft Word to do it. Open up your document in Microsoft Word then go to the top of the page and choose File, then Save As. When the Save As window opens up, put in the name you want for your file in the File Name slot. Next, click on Save as Type and a drop down menu will display. Jan 18, · To make a hyperlink in an HTML page, use the and tags, which are the tags used to define the links. The tag indicates where the hyperlink starts and the tag indicates where it ends. Whatever text gets added inside these tags, will work as a hyperlink. Add the URL for the link in the.
This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness.
The wikiHow Tech Team also followed the article's instructions and verified that they work. This article has been viewed , times. Learn more This wikiHow teaches you how to embed a Word document in your website. On Google Sites, you can embed an image of the Word document directly into the page, while WordPress and self-hosted sites will require you to upload the Word document and then place a link to it in your webpage's text. Log in Social login does not work in incognito and private browsers.
If you aren't logged in, enter your email address and password first. You may need to click Go to Google Drive before proceeding. Click NEW. It's a blue button in the upper-left corner of the page. A drop-down menu will appear. Click File upload. This is in the drop-down menu. Doing so will open a window.
Select your Word file. Double-click the Word file that you want to embed on your website. This will prompt it to upload into Google Drive. It shouldn't take more than a few seconds for most Word documents to upload to Drive. Open Google Sites. If you aren't logged into your Google account when you do this, you'll be prompted to enter your email address and password before continuing. Select your Google Site.
Click on the Google Site on which you want to insert the Word document. Go to the page that you want to use. Scroll down until you arrive on the page on which you want to insert the Word document. It's in the upper-left side of the Google Sites window. Click From Drive. This option is below the "Google Drive" heading near the top of the page. Select the document.
In the right-hand column, click the document that you want to insert. It's in the lower-right corner of the page. This will place the Word document on your website. Resize the document. Click and drag the top or bottom of the document to adjust its vertical size, or click and drag one of its sides to adjust the overall size of the document on your site. It's the purple button in the top-right corner of the page. This will update your website with your uploaded document; you should now be able to see your Word document embedded in your Google Site.
Method 2 of Open WordPress. While you can't embed an image of your document on a WordPress domain, you can embed a link that downloads the WordPress file when clicked. If you aren't logged into your WordPress account, first click Log In in the top-right corner of the page, then enter your email address and password. Click My Site.
It's in the upper-left corner of the WordPress page. Doing so will load your site's page. Click View Site. This option is in the upper-left side of the page. Click Visit Site. It's in the upper-right side of the page. This will take you to your site. Click the tab for the page on which you want to insert your Word document link; you'll usually find these tabs at the top of the page.
Click Edit. You'll find this option in the bottom-right side of the page. Choose a place for your link. Click on the page the place in which you want to insert a link for your Word document. This is a button on the left side of the page. A pop-up menu will appear. Click Media. It's an option near the top of the pop-up menu. Doing so opens a page with all of your website's stored media. Click Add New.
This is in the upper-left side of the page that opens. Select a Word document. Click the Word document that you want to use on your site, then click Open in the bottom-right corner of the window. This will upload the Word document to the storage section of WordPress. Select the uploaded document. Click the Word document to do so. Click Insert. It's in the bottom-right side of the window.
This will insert a link to your Word document. Change the link text. If you want the link text to say something other than the Word document's name, select the link once, click the pencil-shaped icon next to the link that appears, change the text in the "Link Text" field, and click Save. Click Update. It's a blue button in the top-right corner of the page. This will update your website with your uploaded document, allowing you to click the embedded link to download the Word document.
Method 3 of Upload the Word document to your website's root folder. When hosting your own website, you should have a folder that contains the resources e. You'll need to place your Microsoft Word document in this folder. This step will depend heavily upon the software that you use to host your website.
Copy the Word document's address. Again, this step will depend on the software that you use to host your website, but you can usually find the address in a URL bar at the top of the page. Open your website's code document. Open the text or HTML document in which your website's code is stored. Select a place for the link.
Find the place in which you want to insert the link for your Word document, then click that place. Create the HREF tag. Paste in the Word document's address.