Add a tag with the amount next to the field

2

I want to make a button or text field, for example, of email, that informs the amount of emails on top of the text. Something like:

  

Emails¹³

Is this done in PHP or HTML?

    
asked by anonymous 27.08.2018 / 13:01

1 answer

1

You must use HTML and CSS to customize the presentation mode.

The value to display there, you can insert into HTML but there it would be static. Assuming this value is dynamic, that is, it will be changed, you can use PHP and MySQL to fetch it from a database.

Another alternative would be to use JavaScript .

    
27.08.2018 / 13:04