To facilitate this, link bookmarks are useful in HTML. If a web-page is too long, it would be a tedious task to jump to its specific portions. Paths can be mentioned using the full URL or what is relative to the website. For this, mention the name of the file to be downloaded in the href. Links can be provided to download a particular file. It is displayed as tooltip text, every time the mouse is hovered over the link. Link title can be used to display extra information related to a particular link. For example,Īn image can also be used as a link, i.e., on clicking the image, the control will be redirected.īutton can be used as a link by using a JavaScript code that would specify where the control should be redirected once the button has been clicked. The links contain the relative paths which are concatenated with the base paths to specify the full URL. The tag within the of an HTML document can be used to provide a default base path for all the links within the web-page. framename – The hyperlink is opened in the frame whose name has been mentioned._parent – The hyperlink is opened in the frame of the parent._top – The hyperlink is opened in the full body of the window._self – The hyperlink is opened in the same window or tab._blank – The hyperlink is opened in a new window or tab.HTML target attribute specifies where the document under the anchor tag should be opened. To denote a link that has already been selected, the blue color is used.The link changes to pink color, every time the mouse is passed through it i.e., hovering.To denote a visited link, green color has been used.To denote an unvisited link, red color has been used. CSS for linksĬSS properties can be used to style the links in HTML. These properties of the link can be easily styled using CSS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |