如何向其他用户隐藏我的HTML源代码 [英] How to hide my HTML source code from other users

查看:373
本文介绍了如何向其他用户隐藏我的HTML源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问我在一个数学网站上工作,到目前为止,我发现当我编辑其他数学网站时,我找不到它们输入形式和计算器的源代码,所以我想如果它们是一种方法我可以在另一个HTML文档中编写代码,然后在另一个HTML文档中调用它.

我尝试过的事情:

我已经在Google上找到了它,但还没有解决方案.

please i am working on a mathematics website,and so far i discover that when i edit other maths website i don''t find the source code for their input forms and the calculators,so i was think if their is a way i can write a code in another html document and then call it in another.

What I have tried:

i have google it but no solution yet.

推荐答案

那可能是因为它不是HTML格式的-不管他们写的是哪种语言服务器代码在:可以是C#,VB,PHP或其他.在客户端执行的唯一代码是Javascript(HTML是不可执行的,它仅描述页面布局并将javascript/服务器代码与显示元素联系在一起).
HTML或Javascript都无法从用户中隐藏,而他们看不到服务器代码.
That''s probably because it isn''t in HTML - it''s in whatever language they wrote the server code in: which could be C#, VB, PHP, or other. The only code executed at the client is Javascript (HTML is not executable, it just describes a page layout and ties javascript / server code to display elements).
Neither HTML or Javascript can be hidden from the user, while the server code is not visible to them.


这篇关于如何向其他用户隐藏我的HTML源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆