How to add Simple CSS ID in Style Sheet

PHP

In CSS File you can add as many ID as you want to add.
We will show you a simple example to add a new ID in your style and in html file.
Please check the below Example which will add a new ID with width and color to the content of the ID:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>How to add Simple CSS ID in Style Sheet</title>
</head>
<body>
<div id="myidname">
Hello This is the Div Content.
</div>
#myidname
{
//Here you can write your own styles
float:left;
width:200px;
color:red;
}

-->