Posts

Showing posts from May, 2021

JavaScript

 17/5 ## HTML, CSS - These does not have event - For event we use JavaScript ## JAVASCRIPT (JavaScript) -  Javascript is an event programming -  Used in head section -  JavaScript is case sensitive - inside body tag is dynamic script syntax:-   <html> <head> <script language="JavaScript"> </script> </head> </html> ## JavaScript Statement 1) Printing statement document.write("message"); 2) Alert statement alert("message"); 3) Input statement prompt("message"); 4) Confirmed statement confirm("message"); ## JavaScript Variable Variable is a name of memory location where user can store different type of data value. ex. a=10    number variable a=10.5      decimal variable a="Ram"     string variable a=z         character variable ## Types of variable 1) Variant     int a, float b, string c, char z     (verify before storing the value)    ...

HTML and CSS

Image
8/5 ## ADVANCED TOPICS:- ## Web page creation - Website is a collection of web page - Web page is collection of information - Information is collection of data - Data is a raw material ## Types of websites 1) Static website   only for information purpose 2) Dynamic website   where user can interact ## Website creating language 1) HTML  H-Hyper          reference of next page  T-Text              collection of words, symbols and characters  M-Markup       it is a library stores the definition of all tags  L-Language     mediator ## HTML syntax is called "tag" <html> </html> ## Types of tag 1) Open tag <> 2) Close tag <> </> ex. <p> <z> </z> ## HTML structure <html>  <head>   It is a optional section  </head>  <body>   Using called tag  </body> </html> ...

Class & Object, Set, Exception Handling and Examples

Image
  3/5 ## Python function - Function is a small job program ## Types of function   1) Built-in (library function) 2) User defined (created by the user) ## How to create function To create a function ' def ' keyword is used. def display():     print("this is my function")      display()     output:-  this is my function ## Function argument - Argument is used inside the function bracket 1) Actual argument (calling time) 2) Formal argument (definition time) example:- def display(name):                                                                (formal argument)     print("this is my function "+ name)      display("mohan")                                    ...