How Do You Control HTML Hyperlink Text Colors?
As you design your Web pages, you may want to change the color of your HyperText Markup Language (HTML) hyperlinks, which is the designated text that takes the viewer to another page on the Web when it is clicked. Perhaps you want to display a shade more in line with your page’s color scheme or maybe you simply want to use another color to highlight your linked text. Using Cascading Style Sheets (CSS), you can control your hyperlink text colors as you require. Open your HTML text editor and create a new page or select an existing one. Find the “
” portion of the HTML code in your document and type in the CSS style rule code in between these two tags. The “” element ends the style portion of your page. For instance:
Enter an “” anchor style, which controls any hyperlinks in your