Front End Programmer Question: Download Front End Developer PDF

Explain three ways to define a color in html?

Tweet Share WhatsApp

Answer:

1) Hex
2) RGB
3) Name (ie red)

.colorMe {
color:red;
color:#ff0000;
color:rgb(0,0,255);
}

Download Front End Developer PDF Read All 67 Front End Developer Questions
Previous QuestionNext Question
Explain what is the importance of the HTML DOCTYPE?Fresh Front End Developer Interview Questions: