본문 바로가기

HTML&CSS

검색하기 <form method="get" action=""> //searching on

 

이렇게 검색하면! 아래 화면으로 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h3>네이버 검색하기</h3>
    <form method="get" action = "https://search.naver.com/search.naver">
        검색어<input name="query">
        <input type="submit" value="검색">
    </form><hr>
    
    <h3>구글 검색하기</h3>
    <form method="get" action="https://www.google.com/search">
        검색어<input name="q">
    <input type="submit" value="검색">
    </form><hr>
 
    <h3>다음 검색하기</h3>
    <form method="get" action="https://search.daum.net/search">
        검색어<input name="q">
    <input type="submit" value="검색">
    </form><hr>
 
    <h3>유튜브 검색하기</h3>
    <form method="get" action="https://www.youtube.com/results?search">
        검색어<input name="q">
    <input type="submit" value="검색">
    </form><hr>
 
    </body>
</html>
 
http://colorscripter.com/info#e" target="_blank" style="color:#4f4f4ftext-decoration:none">Colored by Color Scripter
http://colorscripter.com/info#e" target="_blank" style="text-decoration:none;color:white">cs