How to make links in different color

How to make links in different color

Digital Hits: 24
One of main website attributes on the Internet are links. The rare page does without them. But when the same color of the link becomes boring, it is possible to make each link of the color. It will help to draw attention of users to the link and will make your Internet page brighter. It is required to you • - HTML tags; • - table with codes of flowers. Instruction 1. Remember the general scheme of references which are used on the majority of the websites. "a" () is the anchor of a hyperlink limiting it from two parties; "href" — reduction from hypertext reference (hypertext link), that is the Internet address to which it is necessary to make transition. The link is always quoted. Thus, the general scheme of links looks so: text . 2. Change color of the link, having added the code to the text of the link and later that it turned out so: text . 3. On blog services, for example, on Liveinternet, use the code [url= the link] the text [/url]. "url" — uniform resource locator, determinant of location of a resource. In this case to change color, add the tag of color before and after the text: [url= link] [color= color] text [/color] [/url]. 4. If you did the website and you have a file with its styles, then edit links directly there, in CSS cascading style sheets. The general syntax of record looks so: a {style parameters }. By means of these parameters it is possible to make a reference bold, italic or any. 5. To set to the link color, it is necessary to use such code: {color: #00000;}. 00000 — the code of black default color. To replace it with any other, use or a graphics package (for example, Adobe Photoshop), having clicked on a small square with a color in Tools, or by means of web palettes. Usually the code is in both cases near #. Copy it, having clicked on it and having clicked Ctrl+C. Then insert into curly brackets after #. 6. To make links multi-colored in the text editor, for example, in Open Office, open in the top Insert menu → "Hyperlink", insert the link, set its text. Click "Apply", then "Close". Select the link and set it color as to the literal text. You can also set color to each letter separately.

Author: «MirrorInfo» Dream Team

Print