HTML--Hiding Text, buttons, links etc. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

HTML--Hiding Text, buttons, links etc.

My wep page- I was wondering, if able, if it is possible to hide text, buttons, image, video and audio with HTML? (Subj-Web page & site building)

18th Jun 2020, 5:53 AM
scr3amer_666
4 Answers
+ 3
Yeah. I dont know what your code looks like. But we (I) use the following to hide elements. And you’re probably looking for one of the following: element{ display: none; } .element{ opacity: 0 } .element{ visibility: hidden }
18th Jun 2020, 6:07 AM
Ginfio
Ginfio - avatar
+ 1
Simply with CSS visible : false
18th Jun 2020, 6:03 AM
Sandra Meyer
Sandra Meyer - avatar
+ 1
Just comment it out within <!-- and --> Like this <!-- <button> My button </button> -->
18th Jun 2020, 7:16 AM
Ore
Ore - avatar
0
Thank you Brother.
18th Jun 2020, 6:08 AM
scr3amer_666