Here are some links that havetheir color change Note:This changes the link(s) colors for theentire document. the color code #FF0000 is the code for red. Produces a page with red links while thelink is active the color code #DB70DB is the code forpurple.Īctive Link the temporary colorthe link changes to when clicked upon Viewed Link the color the linkchanges to once it has been viewed Don't forget toinclude the # sign before the hexcode. To change the color of an unvisited linkchange the hex code in between the quotation marks. the color code #00FF00 is the code for blue. Unvisited link text has notlinked to another location Go to the example webpage that displays this backgroundĬheck this background site outfor more free backgrounds: tells the browser toget the graphic "graystars.gif" and place it on in the background ofthis web page In addition to having a solidcolor, a graphic background can give the page greater distinction.Locate in the space between the quotation marks the name of thegraphic to be used as the background image. To change the color of the font to red addthe following attribute to the code to the tag. To change some of the text inthe HTML document to another color use the FONT COLOR Tag. Don't forget to include the # sign before the hex code.įor red text add the following attribute tothe code to the tag. or theHexadecimal code for the 256 colors that can be displayed on a webpage. In the space between the quotation marks,enter the color word such as red, blue, green, etc. To change the color of the textfor an entire document use the tag: To return to a white background color use:ĭon't forget to include the # sign beforethe hex code. The web page with the colors and color codesis: To get a more precise control of color, useHexadecimal codes for the 256 colors that can be displayed on a webpage. Most newer browsers understand colors specified using English wordssuch as black, blue, white, red, etc.įor a blue background add the followingattribute to the tag. Toadd a color to the background, use an attribute of the tag knownas BGCOLOR. One way to make a web page morepleasing is adding a color or image background behind the text. Finally the tag also attribute that allow the color of viewed, unviewed and active links to change.This tag also has an attribute that allows an image to be used as a background.The tag has several attributes that allow the background and text color to change.Changing Colors Adding Color to aWeb Page
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |