Answers for "css mark field as required"

1

html5 astrix for absolutely required field inside a td tag

<label class="required">Name:</label>
<input type="text">

<style>
  .required:after {
    content:" *";
    color: red;
  }
</style>
Posted by: Guest on October-24-2020

Browse Popular Code Answers by Language