NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>My Website</title>
<link rel="stylesheet" media="(min-width: 640px)" href="all_pc.css">
<link rel="stylesheet" media="(max-width: 640px)" href="all_smp.css">
</head>

<body style="background-image:url(bg050.gif);">
<div class="pagebody">

<header>
<a href="#open"><img src="1.png" class="tophidden" align="right"></a>
<h1>Welcome to My Website</h1>
<ul>
<div id="open">
<li class="topinline"><a href="index.html">Introduction</a></li>
<li class="topinline"><a href="schoollife.html">School life</a></li>
<li class="topinline"><a href="hometown.html">Hometown</a></li>
<li class="topinline"><a href="timetable.html">Time table</a></li>
<li class="topinline" style="width:140px;;"><a href="Japanese.html">Japanese study</a></li>
<li class="topinline"><a href="hobby.html">Hobby</a></li>
<li class="tophidden"><a href="#pagebody">CLOSE</a></li>
</div>
</ul>
</header>

<div class="maincontent">
<div class="submenu">
<div class="submenubody"><a href="index.html">Introduction</a></div>
<div class="submenubody"><a href="schoollife.html">School life</a></div>
<div class="submenubody"><a href="hometown.html">Hometown</a></div>
<div class="submenubody"><a href="timetable.html">Time table</a></div>
<div class="submenubody"><a href="Japanese.html">Japanese study</a></div>
<div class="submenubody"><a href="hobby.html">Hobby</a></div>
</div>

<div class="content">

<head>
<title>the world of JavaScript</title>
<style>
body {
background-color: mistyrose;
}

h1 {
color: blueviolet;
text-align: center;
}
</style>
</head>
<h1>Welcome to the world of JavaScript</h1>

<p>1.Please input your name.</p>

<script>
function showName() {
var n = document.form1.stname.value;
alert("Hello Mr/Ms " + n);
}
</script>

<body>
<form name="form1">
<input type="text" name="stname" value="">
<input type="button" value="click" onclick="showName()">
</form>
</body>



<br />
<form name="choosegender" action="5_5.html" method="get">

<p>2.Please input your gender.</p>
<script type="text/javascript">
function changegender(choosegender) {
for (var i = 0; i < document.choosegender.gender.length; i++) {
if (document.choosegender.gender[i].checked) {
alert(document.choosegender.gender[i].value);
return;
}
}
}
</script>

<input type="radio" name="gender" value="male">male
<input type="radio" name="gender" value="female">female
<br /><br />
<input type="button" value="choose your gender " onclick="changegender()" />
</form>


<br /> <br />
<form name="chooselanguage" action="5_5.html" method="get">

<p>3.Please select the languages you can speak.</p>
<script type="text/javascript">
function changeLanguages(chooselanguage) {
for (var i = 0; i < document.chooselanguage.language.length; i++) {
if (document.chooselanguage.language[i].checked) {
alert(document.chooselanguage.language[i].value);
}
}
}
</script>

<input type="checkbox" name="language" value="Japanese">Japanese
<input type="checkbox" name="language" value="English">English
<input type="checkbox" name="language" value="Chinese">Chinese
<input type="checkbox" name="language" value="Others">Others
<br /><br />
<input type="button" value="choose the languages you can speak " onclick="changeLanguages()" />
</form>

<br /><br />

<form name="choosecourses" action="5_5.html" method="get">

<p>4.Please select your courses.</p>
<script type="text/javascript">
function changecourses() {
var value = document.getElementById("courses_Sel").value;
alert(value);

}
</script>

<select name="coursesgroup" id="courses_Sel">
<option value="Webprogramming">Webprogramming</option>
<option value="Animation">Animation</option>
</select>
<input type="button" value="choose the courses " onclick="changecourses()" />
</form>
<br /> <br />



<p>5.Open and close a window.</p>
<script>
var w = null;

function openWindow() {
w = open("", "WINDOW", "width=600px, height=400");
}

function closeWindow() {
if (w) {
w.close();
w = null;
function resizeby() {
w.resizeBy(-100, -100);
w.focus();
}

function resizeto() {
w.resizeTo(1200, 800);
w.focus();
}
</script>

<input type="button" value="open the window" onclick="openWindow()" />
<input type="button" value="close the window" onclick="closeWindow()" />

<br /> <br />
<p>6.Move a window.</p>

<input type="button" value="window.moveBy(250, 250)" onclick="moveby()" />
<br><br>
<input type="button" value="window.moveTo(0, 0)" onclick="moveto()" />


<br /> <br />
<p>7.Resize a window.</p>
<input type="button" value="window resizeBy(-100, -100)" onclick="resizeby()" />
<br />
<input type="button" value="window resizeTo(1200, 800)" onclick="resizeto()" />

<br /> <br />
<p>8.Mouseover and mouseout.</p>
<img src="photos/image.png" onmouseover="this.src='photos/damepuri.png'" onmouseout="this.src='photos/image.png'">



<br /> <br />
<p>9.Change pictures.</p>
<script>
function hr() {
document.getElementById('img1').src = "photos/haru.jpg"
}

function nt() {
document.getElementById('img1').src = "photos/natsu.jpg"
}

function ak() {
document.getElementById('img1').src = "photos/aki.jpg"
}

function fy() {
document.getElementById('img1').src = "photos/fuyu.jpg"
}
</script>


<div style="text-align:center">

<input type="button" id="b1" value="春" onclick="hr();" />
<input type="button" id="b2" value="夏" onclick="nt();" />
<input type="button" id="b3" value="秋" onclick="ak();" />
<input type="button" id="b4" value="冬" onclick="fy();" />

</div>
<br />
<div>

<img id="img1" src="photos/haru.jpg" />

</div>
</div>
</div>

<footer>Copyright (C) 2016 copyrights. KCGI.All Rights Reserved.</footer>
</body>

</html>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.