User:Yprockstaryogi
==
Heading text
==
<html> <body> <script type="text/javascript"> var x=prompt("Enter a number between 0 and 10:",""); try { if(x>10)
{ throw "Err1"; }
else if(x<0)
{ throw "Err2"; }
else if(isNaN(x))
{ throw "Err3"; }
} catch(er) { if(er=="Err1")
{ alert("Error! The value is too high"); }
if(er=="Err2")
{ alert("Error! The value is too low"); }
if(er=="Err3")
{ alert("Error! The value is not a number"); }
} </script> </body> </html>
-
Caption2</nowiki>
<html> <head> <script type="text/javascript"> function displayDate() { document.getElementById("demo").innerHTML=Date(); } </script> </head> <body>
This is YOGESH PARGAIEN
This is a simple test page.
<button type="button" onclick="displayDate()">Display Date</button>
</body> </html> <html> <head> <script type="text/javascript"> function displayDate() { document.getElementById("demo").innerHTML=Date(); } </script> </head> <body>
My First Web Page
This is a paragraph.
<button type="button" onclick="displayDate()">Display Date</button>
</body> </html> <html> <head> <script type="text/javascript"> function writeText(txt) { document.getElementById("desc").innerHTML=txt; } </script> </head>
<body> <img src ="planets.gif" width ="145" height ="126" alt="Planets" usemap="#planetmap" />
<map name="planetmap"> <area shape ="rect" coords ="0,0,82,126" onmouseover="writeText('The Sun and the gas giant planets like Jupiter are by far the largest objects in our Solar System.')" href ="sun.htm" target ="_blank" alt="Sun" />
<area shape ="circle" coords ="90,58,3" onmouseover="writeText('The planet Mercury is very difficult to study from the Earth because it is always so close to the Sun.')" href ="mercur.htm" target ="_blank" alt="Mercury" />
<area shape ="circle" coords ="124,58,8" onmouseover="writeText('Until the 1960s, Venus was often considered a twin sister to the Earth because Venus is the nearest planet to us, and because the two planets seem to share many characteristics.')" href ="venus.htm" target ="_blank" alt="Venus" /> </map>
Mouse over the sun and the planets and see the different descriptions.
</body> </html> <html> <head> <script type="text/javascript"> var txt=""; function message() { try
{ adddlert("Welcome guest!"); }
catch(err)
{ txt="There was an error on this page.\n\n"; txt+="Error description: " + err.description + "\n\n"; txt+="Click OK to continue.\n\n"; alert(txt); }
} </script> </head>
<body> <input type="button" value="View message" onclick="message()" /> </body>
</html>