Code Dev |13| Cyber Security| Hello World!
Hello friends This is the Recommended Programming Language To Learn for the Field Of Cyber Security as well for Development .
Let Get Started For Hello World!
HTML
Hypertext Markup Language
Extension:- .html
<!DOCTYPE HTML>
<html>
<h1 align=”center”>Hello world Session</h1>
<head>
<title>Welcome To HTML</title>
</head>
<body >
<h1 align=”center”>Hello World</h1>
<h2 align=”left”>HTML</h2>
<h3 align=”right”>@AKASH RANJAN PATEL</h3>
</body></html>
CSS
Cascading Style Sheets
Extension:- .css
<!DOCTYPE html>
<html>
<head>
<style type=”text/css”>
body
{
background-color:lightblue;
text-align=”center”;
}h1
{
color: green;
text-align=”center”;
}
h2
{
color: blue;
text-align=”left”;
}
h3
{
font-family: vardant;
font-size: 30px;
text-align=”right”;
}
</style>
</head><body>
<h1>Hello World</h1>
<h2 >HTML</h2>
<h3 >@AKASH RANJAN PATEL</h3>
</body>
</html>
JAVA
Extension:- .java
public class HelloWorld{
public static void main(String []args){
System.out.println(“Hello Java with AKASH RANJAN PATEL”);}
}
PYTHON
Extension:- .py
print(‘Hello World, with python by Akash Ranjan Patel’)
PHP
Hypertext Preprocessor
Extension:- .php
<!DOCTYPE html>
<html>
<body><?php
$txt = “PHP”;
echo “Hello $txt!”;
echo “AKASH RANJAN PATEL”;
?></body>
</html>
JavaScript
Extension:- .js
<!DOCTYPE html>
<html>
<body>
<h2>Hello World Javascript</h2><button type=”button” onclick=”document.getElementById(‘Time’).innerHTML = Date()”>Javascript Tell me time.</button>
<p id=”Time”></p>
<h1>akash ranjan patel</h1>
</body>
</html>
XML
Extensible Markup Language
<?xml version=”1.0" encoding=”UTF-8"?>
<text>
<para>Hello World XML</para>
<h1>Hello Hackers</h1>
<h3>AKASH RANJAN PATEL</h3>
</text>
C
Extension:- .c
Basic Combined Programming Language
#include <stdio.h>
int main()
{
printf(“Hello World with C By AKASH RANJAN PATEL”);return 0;
}
C++
Extension:- .cpp
#include <iostream>
using namespace std;
int main()
{
cout<<”Hello World with c++ By AKASH RANJAN PATEL”;return 0;
}
JSON
JavaScript Object Notation
<html>
<head>
<title>Hellow World Json!!</title><script type=”text/javascript”>
var object13 = { “language” : “JSON”, “author” : “AKASH RANJAN PATEL” };
document.write(“<h2>Language = “ + object13.language+”</h3>”);
document.write(“<br>”);
document.write(“<h1>Author =” +object13.author+”</h1>”);var object05 = {“Lets” : “Start Hacking”};
document.write(“<h1>Lets = “ +object05.Lets+”<h1>”);
</script>
</head>
<body>
</body>
</html>
Assembly language
Extension:- .asm
section .text
global _start ;must be declared for using gcc
_start: ;tell linker entry point
mov edx, len ;message length
mov ecx, msg ;message to write
mov ebx, 1 ;file descriptor (stdout)
mov eax, 4 ;system call number (sys_write)
int 0x80 ;call kernel
mov eax, 1 ;system call number (sys_exit)
int 0x80 ;call kernelsection .data
msg db ‘Hello Assembly with AKASH RANJAN PATEL’,0xa ;our dear string
len equ $ — msg ;length of our dear string
R
#R version 3.4.4
print(“Hello R with AKASH RANJAN PATEL”)
Node.js
/* Simple Hello World in Node.js */
console.log(“Hello NordJs”);
console.log(“By AKASH RANJAN PATEL”);