当前位置:   article > 正文

【表格】大于号转义符&;gt;---小于号转义符&;lt;-html_&lt

&lt

【表格】html大于号转义符>---小于号转义符<

关于来源:百度及个人经验。 常用的都是个人尝试过或个人常用的,其它的都是从百度来的。使用前建议写个HTML的Demo试试看 ^_^ 比心

显示结果实体名称实体编号描述
<&lt;&#60;小于号
>&gt;&#62;大于号
&le;&#8804;小于等于号
&ge;&#8805;大于等于号
&&amp;&#38;和号
"&quot;&#34;引号
'&apos;&#39;单引号(英文、IE不支持)
&ldquo;&#147;左双引号
&rdquo;&#148;右双引号
&lsquo;&#145;

左单引号

&rsquo;&#146;

右单引号

|&#124;竖线Vertical bar
©&copy;&#169;版权
®&reg;&#174;注册商标
&trade;&#8482; or &#153;商标
¥&yen;&#165;

人民币

$&dollar;&#36;美元符号
&permil;&#8240;千分率


觉得可以,记得右上角点赞哦!如有不正确的地方,欢迎各位大神指教!

【The End】


附言:

[抽空为大家整理了一些文章]

Eclipse常用配置(2019)

div+CSS实现段落首行缩进两个字符(text-indent标签)

【MySQL】varchar转int类型的方法

MySQL中使用LIMIT进行分页的方法

mysql下出现Unknown column 'xx' in 'on clause'的完全解决方法

layui的checkbox选中赋值?

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Breathing Galaxies (3005 bytes)</title>
  5. <script type="text/javascript">
  6. window.onload = function() {
  7. var d = window.document.getElementById("_d");
  8. if (!d) {
  9. d = window.document.createElement("canvas");
  10. d.id = "_d";
  11. window.document.getElementsByTagName("BODY")[0]
  12. .appendChild(d);
  13. }
  14. C = Math.cos; // cache Math objects
  15. S = Math.sin;
  16. U = 0;
  17. w = window;
  18. j = document;
  19. c = d.getContext("2d");
  20. W = d.width = w.innerWidth;
  21. H = d.height = w.innerHeight;
  22. c.fillRect(0, 0, W, H); // resize <canvas> and draw black rect (default)
  23. c.globalCompositeOperation = "lighter"; // switch to additive color application
  24. c.lineWidth = 0.2;
  25. c.lineCap = "round";
  26. var bool = 0, t = 0; // theta
  27. d.onmousemove = function(e) {
  28. if (window.T) {
  29. if (D == 9) {
  30. D = Math.random() * 15;
  31. f(1);
  32. }
  33. clearTimeout(T);
  34. }
  35. X = e.pageX; // grab mouse pixel coords
  36. Y = e.pageY;
  37. a = 0; // previous coord.x
  38. b = 0; // previous coord.y
  39. A = X, // original coord.x
  40. B = Y; // original coord.y
  41. R = (e.pageX / W * 999 >> 0) / 999;
  42. r = (e.pageY / H * 999 >> 0) / 999;
  43. U = e.pageX / H * 360 >> 0;
  44. D = 9;
  45. g = 360 * Math.PI / 180;
  46. T = setInterval(f = function(e) { // start looping spectrum
  47. c.save();
  48. c.globalCompositeOperation = "source-over"; // switch to additive color application
  49. if (e != 1) {
  50. c.fillStyle = "rgba(0,0,0,0.02)";
  51. c.fillRect(0, 0, W, H); // resize <canvas> and draw black rect (default)
  52. }
  53. c.restore();
  54. i = 25;
  55. while (i--) {
  56. c.beginPath();
  57. if (D > 450 || bool) { // decrease diameter
  58. if (!bool) { // has hit maximum
  59. bool = 1;
  60. }
  61. if (D < 0.1) { // has hit minimum
  62. bool = 0;
  63. }
  64. t -= g; // decrease theta
  65. D -= 0.1; // decrease size
  66. }
  67. if (!bool) {
  68. t += g; // increase theta
  69. D += 0.1; // increase size
  70. }
  71. q = (R / r - 1) * t; // create hypotrochoid from current mouse position, and setup variables (see: http://en.wikipedia.org/wiki/Hypotrochoid)
  72. x = (R - r) * C(t) + D * C(q) + (A + (X - A) * (i / 25))
  73. + (r - R); // center on xy coords
  74. y = (R - r) * S(t) - D * S(q) + (B + (Y - B) * (i / 25));
  75. if (a) { // draw once two points are set
  76. c.moveTo(a, b);
  77. c.lineTo(x, y)
  78. }
  79. c.strokeStyle = "hsla(" + (U % 360) + ",100%,50%,0.75)"; // draw rainbow hypotrochoid
  80. c.stroke();
  81. a = x; // set previous coord.x
  82. b = y; // set previous coord.y
  83. }
  84. U -= 0.5; // increment hue
  85. A = X; // set original coord.x
  86. B = Y; // set original coord.y
  87. }, 18);
  88. }
  89. j.onkeydown = function(e) {
  90. a = b = 0;
  91. R += 0.05
  92. }
  93. d.onmousemove({
  94. pageX : 300,
  95. pageY : 290
  96. })
  97. }
  98. </script>
  99. </head>
  100. <body style="padding: 0px !important; margin: 0px !important;">
  101. </body>
  102. </html>

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号