<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Hello HTML5</title>
</head>
<body>
<button title="Click Me" onclick="Javascript:alert('clicked')">Click Me!</button>
<button title="Click Me2" onclick="click2()">Click Me2</button>
</body>
<script type="text/javascript">
function click2() {
alert('Clicked Me2');
}
</script>
</html>
Sunday, January 27, 2013
HTML5 First Day
My first HTML5 pages. I believe the big data needs a way to render. And I decide to use HTML5 as the way to go. The sample shows how to put script and call javaScript function.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment