This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- A fundamental example to demonstrate the uses of JavaScript Functions : ShubhamKLogic.com --> | |
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <p>Click the button to display a dialog box that will ask for your favorite number.</p> | |
| <p><textarea id="txt" cols=18 rows=5></textarea></p> | |
| <button onclick="calcTable()">Try it</button> // Function will be invoked 'on button click' | |
| <script> | |
| function calcTable() { // Function Definition... | |
| var favNum = prompt("What's your favorite number?", "7"); // Step 1, 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- A Quick Example of HTML with CSS : ShubhamKLogic.com --> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> <!-- Head section: Not visible to anyone on webpage --> | |
| <style> /* CSS Internal Styles Started */ | |
| .circle { | |
| width: 108px; /* Set the width of Circle */ | |
| height: 108px; /* Set the Height of Circle */ | |
| background-color: rgb(86, 221, 255); /* Apply background color of Circle and so on... */ | |
| position: relative; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> <!-- Doctype tag to tell the browser it's an html document --> | |
| <html> | |
| <head> | |
| <!-- Head Area: To include other required files (eg: CSS) --> | |
| </head> | |
| <body> | |
| <!-- Body Area: To Display Textual and Multimedia content to Users --> | |
| <h1>HTML- A Pillar of Web Development</h1> <!-- "h1" is a Heading tag --> | |
| <hr/> <!-- Represents a Horizontal Line --> | |
| <h2>What is Computer?(Used 'h2' Tag)</h2> <!-- "h2" is used for smaller size headings --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Note*** : The code below is just for Learning purposes - ShubhamKLogic.com | |
| // DCL : Data Control Language, used to control user rights and permissions. | |
| // In DCL we have two commands, | |
| // GRANT: Used to provide any user access privileges or other priviliges for the database. | |
| // REVOKE: Used to take back permissions from any user or object. | |
| Examples: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Note*** : Code snippet below is just for Learning purposes - ShubhamKLogic.com | |
| // DDL Commands : Data Control Language | |
| // Syntax - The basic syntax of this CREATE DATABASE statement is as follows, | |
| CREATE DATABASE YourDatabaseName; | |
| // If you want to create a new database <testShubhamKLogicDB>, | |
| CREATE DATABASE testShubhamKLogicDB; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Note***: The code below is just for Learning purpose - ShubhamKLogic.com | |
| // The fundamental syntax of the SELECT statement is as follows− | |
| // Syntax: | |
| SELECT yourColumn1, yourColumn2, yourColumnN FROM yourTableName; | |
| // Example: | |
| SELECT * FROM tbl_SKL_top_members; |