I know there are lot's of questions regarding this query here but none of them provide the solution for me.
<input id="tb1" type="text" class="note" />
<p class="note1"> This is not done.</p>
content: "Enter your number";
It doesn't work for the simple fact that this:
<input id="tb1" type="text" class="note"></input>
is not valid.
<input /> elements are not containers. As the spec notes, endtags are forbidden (and essentially ignored by the browser): http://www.w3.org/TR/html401/interact/forms.html#h-17.4