Best way to include unobtrusive information on a web page

前端 未结 7 970
栀梦
栀梦 2021-02-06 16:34

So I\'ve got some scripts I\'ve written which set up a Google map on my page. These scripts are in included in the of my page, and use jQuery to build

7条回答
  •  庸人自扰
    2021-02-06 17:26

    If the information should not be visible to the user, it should not stay in the document. The data can stay in a script region for example. However if for various reasons this is not possible, you could use a div with style="display:none" that will hide the information.

提交回复
热议问题