How to Handle Html tags in color | Html color picker | How to change text color in html | Color tag in Html | Tags in Html | The ACX



You can specify colors on page level using <body> tag otherwise you can set colors for individual tags using bgcolor attribute.

The <body> tag has the following attributes which can be used to set different colors −

  • bgcolor − sets a color for the background of the page.
  • text − sets a color for the body text.
  • alink − sets a color for active links or selected links.
  • link − sets a color for linked text.
  • vlink − sets a color for visited links − that is, for a linked text that you have already clicked on.
HTML Color Coding Methods
  • Color names − You can specify color names directly like green, blue or red.
Standard Color
  • Hex codes − A six-digit code representing the amount of red, green, and blue that makes up the color.
Hex Color
  • Color decimal or percentage values − This value is specified using the rgb( ) property.
rgd Color


Comments

Popular posts from this blog

How to install Pip pillow | Install Pip Pillow | Python pip | Python pillow tutorial

How to create Cardview with Toast | Cardview | Toast | Android Studio.

How to create Splashscreen | Android Studio.