- A+
所属分类:Web前端
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <style type="text/css"> div { color: red; /* display: none; */ visibility: hidden; } </style> </head> <body> <s>这是一个s标签</s> <div id=""> 这是一个div </div> <strong>这是一个strong</strong> </body> </html>
display: none
visibility: hidden