28 lines
537 B
HTML
28 lines
537 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Styled Page</title>
|
|
<script>
|
|
function log(message) {
|
|
document.getElementById('log').innerHTML = "<p>" + message + "</p>"
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<div style="height: 200px"></div>
|
|
|
|
<form action="#" method="get" onsubmit="return false;">
|
|
<input name="searchBox">
|
|
<input type="submit" name="btn" style="padding-top: 4px; padding-bottom: 4px" value="Search" onclick="log('click');">
|
|
</form>
|
|
|
|
<div id="log"></div>
|
|
|
|
<div style="height: 4000px">Content</div>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|
|
|