본문 바로가기
카테고리 없음

NASA Extra Galactic Database-소스코드HtMl

by ✨💖 지혜의포털 💖✨ 2025. 1. 10.
728x90

NASA Extra Galactic Database

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>NASA Extra Galactic Database</title>

    <style>

        body {

            font-family: Arial, sans-serif;

            margin: 0;

            padding: 20px;

            background-color: #f0f0f0;

            display: flex;

            justify-content: center;

            align-items: center;

            min-height: 100vh;

        }

 

        h1 {

            color: #333;

            text-align: center;

            margin-bottom: 20px;

        }

 

        form {

            background: white;

            padding: 20px;

            border-radius: 8px;

            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

            display: flex;

            flex-direction: column;

            align-items: center;

            width: 400px;

        }

 

        label {

            display: block;

            margin-top: 10px;

            text-align: center;

            font-weight: bold;

        }

 

        input[type="text"] {

            width: 90%;

            padding: 10px;

            margin-top: 5px;

            margin-bottom: 15px;

            border: 1px solid #ccc;

            border-radius: 4px;

            text-align: center;

            font-size: 16px;

        }

 

        button[type="submit"] {

            padding: 10px 20px;

            background-color: #4CAF50; /* Green */

            color: white;

            border: none;

            border-radius: 4px;

            cursor: pointer;

            font-size: 16px;

            width: 100px;

            transition: background-color 0.3s ease;

        }

 

        button[type="submit"]:hover {

            background-color: #45a049; /* Darker Green */

        }

    </style>

</head>

<body>

    <h1>NASA Extra Galactic Database</h1>

    <form action="https://ned.ipac.caltech.edu/search" method="get" target="_blank">

        <label for="search">Search:</label>

        <input type="text" id="search" name="q" placeholder="Enter your search query...">

 

        <button type="submit">Search</button>

    </form>

</body>

</html>