Posts

Website Event Handling (JavaScript)

  JavaScript : It is used for EVENT HANDLING There are two ways to use it. 1) Write function in HTML file itself. For example <html>   <head>   <script type="text/javascript" src="message.js"> function msg(){   alert("Hello Javatpoint");   }   </script>   </head>   <body>   <p>Welcome to JavaScript</p>   <form>   <input type="button" value="click" onclick="msg()"/>   </form>   </body>   </html>   2) Write JavaScript code in separate file and import it into HTML. For example aleena.js ---------- function msg(){    alert("Hello Javatpoint");   }   aleena.html ----------- <html>   <head>   <script type="text/javascript" src="aleena.js"></script>   </head>   <body>   <p>Welcome to JavaScript</p>   <form>   <input type="button" value="click" onclic

Website Coloring & Layout (CSS)

CSS (Cascading Style Sheets) : It is used to control the style of a web document in a simple and easy way. There are three ways you can add CSS to your TAG, 1) Using Style attribute. For example <html>   <body>   <h1 style="color: white; background-color: red; padding:5px; text-align: center">Aleena Bagwan</h1>   <p style="color: blue;">I am aleena bagwan.</p>   </body>   </html>   2) Using <style> tag in your <head> tag. For example <html>   <head>   <style>   h1{   text-align:center; color:white;   background-color:green;   padding:5px;   }   p{   color:blue;   }   </style>   </head>   <body>   <h1>Aleena Bagwan</h1>   <p>I am aleena bagwan.</p>   </body>   </html>   3) Using a separate CSS file (It is recommended technique). For example aleena.css ---------- h

Website Development (HTML)

Image
Types of application 1) web application (website) -It run inside the browser. For example www.google.com , www.facebook.com 2) desktop application (standalone application) -It run standalone and outside of browser. For example notepad, powerpoint 3) mobile application -It run inside mobile For example whatsapp, instagram HTML : It is used to create web application (or say to create website) HTML is based on tags. Example 1:- <html>  <header><title>Aleena's website</title></header> <body> <h1>Aleena Bagwan</h1> <h2>About</h2> <p>I am Aleena.</p> <h2>Education</h2> <p> I am in 7 grade.I study in Podar International School.</p> <h2>Family</h2> <p>My father is civil engineerr.</p> <h2>Address</h2> <p>I live in Navi Mumbai, Nerul.</p> </body> </html> What is ATTRIBUTE : It is used to avail extra

Unix like operating system

Image
Unix is an operating system. It was developed in the 1970s at the  Bell Labs  research center by  Ken Thompson ,  Dennis Ritchie , and others.    Today there are more than 400 standard operating systems based on unix operating system (They are called unix like operating system) such as Linux,  Redhat,  Ubuntu,  Fedora,  Kali,  Macintosh,  and more.  Its mean if you know any one unix kernel based operating system you can operate all 400 standard operating systems. Unix commands ls  : To list all folders and files of current directory ls -l  : To list all folders and files of current directory with more details (with permissions and stuff) mkdir  : To create an new directory in current path touch  : To create a new file rm <YourFileName>  : To delete your file rm -rf <YourDirectoryName>  : To delete your complete folder   cd  : To change directory (go to inside a directory) cd ..  : To come back one directory clear  : To clear screen pwd  : To check present working directory

C Language

Image
Programming Languages ---------------------------------- Programming langauges are used to develop software applications (e.g. facebook, whatsapp, banking application etc) There are many programming languages like C, C++, Java, Python and more. Those who work on programming languages are called Software programmer or Software developer C language ========== -mother of all langauges -Denies Ritche -1972 Example (hellowo rd.c) #include   <stdio.h> void   main () {      printf ( "hello aleena" ); } Example : what is variable ? Example variable and datatype #include <stdio.h>      void   main (){          int   age = 12 ;      float   percentage = 76.99 ;      char   name []  = { 'a' ,  'l' , 'e' , 'e' , 'n' , 'a' };           printf ( "Name = %s" ,  name );      printf ( " \n " );      printf ( "Percentage = %f" ,  percentage );      printf ( " \n " );      printf ( "