Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css add required asterisk after

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

<style>
  .required:after {
    content:" *";
    color: red;
  }
</style>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #add #required #asterisk
ADD COMMENT
Topic
Name
5+8 =