News from the Field
A channel with tips on modern AI development. Join!
133 of 133 menu
◀

The hidden attribute

The hidden attribute hides an element from the page. The attribute has no value. Its effect is similar to the display property with a value of none.

Example

Let's hide one of the blocks:

<div hidden> text1 </div> <div> text2 </div>

:

See also

  • property visibility,
    which sets the element to invisible
←
↑
English▼
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline