Edit in JSFiddle

<input placeholder="Enter Text..." />    

<input readonly value="Read Only" />

<input readonly="readonly" value="Read Only" />
body{background:#fff}

input
{
    background-color:#fff;
    display:block;
    margin:10px;
    padding:8px 6px;
    width:400px;
}
input[readonly]
{
    background-color:#ccc;
    font-style:italic;
}