Posts

Showing posts from February, 2023

javascript sop xii science

Image
SOP 1) [Javascript Practical] Create a web page in HTML having a white background and two Button Objects. Write code using JavaScript such that when the mouse is placed over the first button object without clicking, the color of the background of the page should change after every seconds. There should at least be 7 different and visibly distinct background colors excluding the default color. When the second button object is clicked, appropriate message should be displayed in Browsers status bar. Create another web page using JavaScript where the background color changes automatically after every seconds. This event must be triggered automatically after the page gets loaded in the browser. There should at least be 7 different and visibly distinct background colors. When the page is unloaded, the appropriate alert message should be displayed. Answer:- js1.html <!DOCTYPE html> <html> <head> <title></title> </head> <body id="background"...

HTML SOP XII SCI AND COMMERCE

Image
  (Q1) SOP-1:Creation of website using HTML5  Answer:-   Page1- Main.html   <html> <head> <title> Main Page </title> </head> <body background="Tulips.jpg"> <h1><center>Welcome to The sandesh Junior College of Commerce,Arts and Science </center></h1> <h2><marquee>Malad West</marquee></h2> <br> <br> <br> <nav> <h2><center><a href="Index.html">College Profile</a></center></h2> <h2><center><a href="Form.html"> Feedback Form</a></center></h2> </nav> </body> </html>   Page2- Index.html   <html> <head> <title> The B.S.G.Ds Jr college </title> <style> h1{color:blue;text-align:center;} b{font-size:50px;} body{background-image:url('Tulips.jpg');background-size:cover;} </style> </head> <body> <img src="Logo.jp...