you can use label[for="title"]
where “title” is the ID of your input.
Example:
<label for="title">Title</label>
<input type="text" id="title" name="title">
css:
label[for="title"] {
color: blue;
}
you can use label[for="title"]
where “title” is the ID of your input.
Example:
<label for="title">Title</label>
<input type="text" id="title" name="title">
css:
label[for="title"] {
color: blue;
}