Whats wrong with my code below.my code below doesn’t work fine
<ul>
<li><font-color ="Red"/> Text 1</li>
</ul>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Font-colorisn’t a valid HTML tag or style declaration. Syntactically, it’s illegal.Instead, it should be something like:
<li style="color:red">foo</li>However, it is almost always better to move styles into their own stylesheet, and use a class name instead:
HTML
CSS
As @JanDvorak noted, try to use descriptive names for classes like “highlight”.
You can also use other selectors to style your elements, such as an ID selector:
HTML
CSS