Code Dev |13| Cyber Security| Hello World!

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>

Image for post
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>

Image for post
CSS

JAVA

Extension:- .java

public class HelloWorld{

public static void main(String []args){
System.out.println(“Hello Java with AKASH RANJAN PATEL”);

}

}

Image for post
Java

PYTHON

Extension:- .py

print(‘Hello World, with python by Akash Ranjan Patel’)

Image for post
python

PHP

Hypertext Preprocessor

Extension:- .php

<!DOCTYPE html>
<html>
<body>

<?php
$txt = “PHP”;
echo “Hello $txt!”;
echo “AKASH RANJAN PATEL”;
?>

</body>
</html>

Image for post
php

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>

Image for post
JavaScript

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>

Image for post
xml

C

Extension:- .c

Basic Combined Programming Language

#include <stdio.h>

int main()
{
printf(“Hello World with C By AKASH RANJAN PATEL”);

return 0;
}

Image for post
c

C++

Extension:- .cpp

#include <iostream>

using namespace std;

int main()
{
cout<<”Hello World with c++ By AKASH RANJAN PATEL”;

return 0;
}

Image for post
c++

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>

Image for post
Json.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 kernel

section .data

msg db ‘Hello Assembly with AKASH RANJAN PATEL’,0xa ;our dear string
len equ $ — msg ;length of our dear string

Image for post
assembly

R

#R version 3.4.4

print(“Hello R with AKASH RANJAN PATEL”)

Image for post
R

Node.js

/* Simple Hello World in Node.js */
console.log(“Hello NordJs”);
console.log(“By AKASH RANJAN PATEL”);

Image for post
nord js
Image for post

Leave a Reply

error: Content is protected !!