跟狂神老师学习博客的使用练习

Markdown学习

狂神

 

标题

几级标题用几个# 空格

 

字体

####

**Hello,world!**

*Hello,world!*

Hello,world!

---Hello,world---


Hello,world!

Hello,world!

<!--Hello,world!-->

Hello,world!

fd

 

引用

狂神

分割线



===


!!!


|||

图片

图片2

超链接

点击跳转到天红博客

列表

  1. a

  2. g

  3. h

  4. h

  5. j

  6. l

  7.  

 

  • a

  • b

  • v

=

!

表格

名字性别年龄
  天红

 

   
     
     
     
   
     
     
     

代码

 

public
public 
<!DOCTYPE html>
<!--suppress ALL -->
<html lang="en">
<head>
   <meta charset="UTF-8">
   <title>伪造Ajax</title>
</head>
<body>
<script type="text/javascript">
   window.onload=function f() {
       var myDate = new Date();
       document.getElementById("currentTime").innerText=myDate.getTime();
  }

   function loadPage() {
       var targetURL=document.getElementById("url").value;
       document.getElementById("iframePosition").src=targetURL;

  }

</script>

<div>
   <p>请输入要加载的地址:<span id="currentTime"></span></p>
   <p>
       <input type="text" id="url" value="https://www.baidu.com/">
       <input type="button"value="提交" onclick="loadPage()">
   </p>
</div>
<div>
   <h3>加载页面的位置:</h3>
   <iframe src="" style="width: 100%;height: 500px" id="iframePosition"></iframe>
</div>
</body>
</html>

 

posted @ 2021-05-26 13:46  你我不在年少  阅读(246)  评论(0编辑  收藏  举报