Privacy Policy - GPT Web Toolbox

HTML Viewer

            
            
            
                My Page
            
            
                

Hello, World!

This is a sample HTML page.

JSON Code:

    {
        "name": "John Doe",
        "age": 30,
        "email": "[email protected]"
    }
        

XML Code:

    
    
        Sample Book
        John Doe
        2023
    
        

CSS Code:

    body {
        font-family: Arial, sans-serif;
        background-color: #f1f1f1;
    }
    h2 {
        color: blue;
    }
    p {
        font-size: 14px;
    }
        

JavaScript Code:

    function greet(name) {
        return "Hello, " + name + "!";
    }
    
    var person = "John Doe";
    console.log(greet(person));
        

SQL Code:

    SELECT *
    FROM customers
    WHERE country = 'USA';
        

Java Code:

    public class HelloWorld {
        public static void main(String[] args) {
            System.out.println("Hello, World!");
        }
    }
        

C# Code:

    using System;
    
    class Program {
        static void Main() {
            Console.WriteLine("Hello, World!");
        }
    }
        

Python Code:

    def greet(name):
        return "Hello, " + name + "!"
    
    person = "John Doe"
    print(greet(person))