Hi


I have no clue why I am not able to color the <p> </p> portion of this website. This code: p { Color: red;} should make all paragrahps red color, but I have no clue why it does not work Here is the entire code below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">


<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>S&Z Autos, LLC</title>
<style type="texte/css">
p { Color:  red;}




</style>
</head>
<body>
<h1>Welcome to S&Z Autos</h1>
<p>
Our mission is to make sure our customers are satisfied for the vehicle they purchase from us.
more that 60% of our customers are repeat customers. Our mission is to tell our customers everything we know about the vehicle that he/she is
interested in. 
</p>
</body>
</html>

thanks

Sam

Recommended Answers

All 2 Replies

G'day! Simply replace "texte" with "text"

Upper case is also not allowed in tag, style, and attribute names and values. Replace Color with color.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.