Home > Software design >  How to hide label of html input element
How to hide label of html input element

Time:10-01

I am trying to hide the label of an input element in html.

<input type="hidden" id="filex" name="filex" style="background-color:white">{{edit_card.id}}</input>

I am trying to hide the value of {{edit_card.id}} from displaying.

How do I achieve this, thanks!

CodePudding user response:

HTML: style="display: none;"

CSS: .class {display:none;}

{{edit_card.id}} will be accessible by Right Mouse Click - inspect from browser.

  • Related