![]() Step 6 − For relative path, select the index_2.html in the address field and Expression Web will get the remaining path from the index.html file, because both these files are in the same directory. Now for relative right-click on the “Home ” and select Hyperlink… from the menu which will open the Insert Hyperlink dialog. ![]() Step 5 − In the Address field, specify the URL for YouTube home page and click Ok. Similarly, right-click on YouTube in the design view and select Hyperlink… Step 4 − In the Address field, specify the URL for Google home page and click OK. Step 3 − In the Design View, right-click on Google and then select Hyperlink… from the menu which will open the Insert Hyperlink dialog. Step 2 − Let’s save the webpage and you will see the text in the main content section. Step 1 − First, open the index.html page and add the following lines in the main content section.įollowing is the complete implementation of index.html page.Ĭolor: #000000 background-color: #116611 Ĭolor: #000000 background-color: #66FF99 Let’s take a look at a simple example in which we will be using both absolute and relative URLs. However, the web browser obtains the missing information from the page that contains the URL. An absolute URL contains a full address while a relative URL is missing one or more parts of the address. There are two types of URLs, absolute and relative. When you move the cursor over a link in a webpage, the arrow will turn into a little hand.Ī URL is an address that specifies a protocol, web server, and file path. In tag, “href” attribute is used to address the link to the document, and the words between the open and close of the anchor tag will be displayed as a hyperlink. An anchor can point to another html page, an image, a text document, or a pdf file among others. In HTML, tag which is known as anchor tag is used to create a link to another document. Following are some of the important features of hyperlink −Įxpression Web's hyperlink tools and options make it very easy to work with hyperlinks.Įxpression Web hyperlink views and reports also make it very easy to find and fix broken and incorrect links.Ī hyperlink can be a word, a group of words, or an image that when clicked will take you to a new document or a place within the current document. Hyperlinks also allow users to click and go to a different page, a place within a page, an image or another location on the Internet entirely. Hyperlinks or links are found within nearly all web pages. One of the things that makes the web so expansive is the capability of webpages to link to other webpages. In this chapter, we will learn how to use hyperlinks in your website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |