<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>helloWorld</title>
<style>
div{
text-align: center;
font-size: 20px;
}
</style>
</head>
<body>
<div id="hello">hello</div>
</body>
<script>
var oDiv=document.getElementById('hello');
oDiv.onclick=function(){
alert('hello world!');
}
</script>
</html>

最新文章

  1. iOS-C基础
  2. 树莓派3B 安装微雪LCD5inch显示器(包含软键盘)
  3. js处理匿名函数
  4. Linux 输出重定向&gt;和&gt;&gt;的区别是什么
  5. 注意:&quot;AspNetPager”的控件“AspNetPager1”必须放在具有 runat=server 的窗体标记内
  6. Direct3D 顶点缓存
  7. bootstrap-table 怎么自定义搜索按钮实现点击按钮进行查询
  8. 使用jekyll和Github搭建个人博客
  9. 【我的前端自学之路】【HTML5】web 存储
  10. 三十六、Linux 线程——线程基本概念及线程的创建和终止
  11. C++Builder XE7 中“匿名”方法实现
  12. 微信小程序 - 分包加载(分包使用)
  13. mysql统计函数
  14. javascript中五种基本数据类型
  15. 【angular5项目积累总结】消息订阅服务
  16. 什么是APS高级计划排程(生产计划排产)系统主要功能模块有哪些?
  17. bzoj 1029 贪心
  18. linux shell 脚本使用
  19. MySQL事务隔离级别测试实例
  20. Linux的PCI驱动分析

热门文章

  1. jvm之方法内联优化
  2. VUE 中引入百度地图(vue-Baidu-Map)
  3. 4 IDEA环境应用
  4. ASP.Net中的async+await异步编程
  5. 如何配置 SSH 密钥连接 Git 仓库
  6. [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
  7. A Case for Lease-Based, Utilitarian Resource Management on Mobile Devices
  8. IDEA run/debug configurations中没有配置tomcat选项
  9. 建设开发者生态:6项华为API管理原则落地
  10. C++入门记-大纲