How to hide an html text element ?

thanks for sharing, it is very helpful for me.