How to create an HTML link on a web page.If the file did not exist, you would get a 404 error.įurther information and examples on creating a hyperlink is on the link below. In the example, the hyperlink would be titled "Computer Hope" and point to the hope.html file. In our visual example, you can see that a hyperlink uses the a tag with the href attribute that points to the file or web page. How to change the color of links on a web page.īelow is an example of how to create a hyperlink on an HTML page.However, the link to this hyperlink page should be purple because you've visited the page since you are reading it now. For example, unless you have already viewed our motherboard page, the link should be blue. Why are some hyperlinks different colors?įor usability, many websites (including Computer Hope) change the color of visited hyperlinks as a way to let the reader know what page they have already visited. Also, at the bottom of the window the URL of the link should appear to help you identify where the link points. ![]() ![]() A browser changes the pointer from an arrow to a finger to indicate it can be opened. On a computer you can identify a hyperlink even if it's not underlined by hovering your mouse pointer over the text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |