anonymous No title
HTML
<!DOCTYPE html>
<html lang="ja">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="uxin.css">
</head>

<body>

  <body>
    <div class="wrapper row1">
      <header id="main_header"> id "main_header" の内容がここに入ります</header>
    </div>
    <div class="wrapper row2">
      <nav id="g_navi"> id "g_navi" の内容がここに入ります</nav>
    </div>
    <div class="wrapper row3">
      <p id="mainvisual">メインビジュアルがここに入ります。</p>
    </div>
    <div class="wrapper row4">
      <main class="clearfix">
        <article id="main_contents"> id "main_contents" の内容がここに入ります</article>
        <aside id="side_contents"> id "side_contents" の内容がここに入ります</aside>
      </main>
    </div>
    <div class="wrapper row5">
      <footer id="main_footer"> id "main_footer" の内容がここに入ります</footer>
    </div>
  </body>


</body>

</html>




anonymous No title
HTML
<!DOCTYPE html>
<html lang="ja">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>課題2-4</title>
</head>
<body>
<h1>簡易掲示板<!DOCTYPE html>
<html lang="ja">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>課題2-4</title>
</head>
<body>
<h1>簡易掲示板</h1>
<form action = "kadai_2-4.php" method = "post" >
    <p>名前</p>
    <input type = "text" name = "name" >
    <p>コメント</p>
    <textarea name = "comment" ></textarea><br>
    <input type = "submit" name = "send" value = "投稿"><br>
    削除したい番号:<input type = "text" name = "deleteNo">
    <input type = "submit" name = "delete" value = "削除"><br>
  </form></h1>
<form action = "kadai_2-4.php" method = "post" >
    <p>名前</p>
    <input type = "text" name = "name" >
    <p>コメント</p>
    <textarea name = "comment" ></textarea><br>
    <input type = "submit" name = "send" value = "投稿"><br>
    削除したい番号:<input type = "text" name = "deleteNo">
    <input type = "submit" name = "delete" value = "削除"><br>
  </form>
</body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>PHP</title>
</head>
<body>
<?php
// 1.echoで文字列を表示する
$data= 'Hello';
echo $data, '<br />';
// 2.文字列をテキストファイルに保存する
$file = fopen("sample.txt", "w");
flock($file, LOCK_EX);
fwrite($file, $data  . "\n");
flock($file, LOCK_UN);
fclose($file);
// 3. 2 で保存したテキストファイルを読み込んで表示させる
$file = fopen("sample.txt", "r");
flock($file, LOCK_EX);
echo fgets($file), '<br />';
flock($file, LOCK_UN);
fclose($file);
?>
<form method = "GET" action = "get_1.php">
<label for = "txt">文字列データ:</label>
<input id = "txt" type = "text" name = "txt" size = "15" />
<input type = "submit" value = "送信" />
</form>
</body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="kitasennjyu.css">
    <title>Document</title>
</head>
<body>
    <div class="oya">
        <div class="kuro iro"></div>
        <div class="pinnku iro"></div>
    </div>
</body>
</html>


<form action="mail.php" method="post" name="mail" id="mail">
    <table width="680" border="0">
        <tbody>
          <tr>
            <th scope="row">氏名(必須)</th>
            <td><input name="name" type="text" required id="name" placeholder="例)山田 太郎" title="お名前を入力してください。"></td>
          </tr>
          <tr>
            <th scope="row">ふりがな(必須)</th>
            <td><input name="kana" type="text" required id="kana" placeholder="例)やまだ たろう" title="お名前のふりがなを入力してください。"></td>
          </tr>
          <tr>
            <th scope="row">電話番号(必須)</th>
            <td><input name="tel" type="tel" required id="tel" placeholder="例)090-1234-5678" title="電話番号を半角英数字で入力してください。" maxlength="13"></td>
          </tr>
          <tr>
            <th scope="row">メールアドレス(必須)</th>
            <td><input name="email" type="email" required id="email" placeholder="例)t-yamada@test.com" title="メールアドレスを半角英数字で入力してください。"></td>
          </tr>
          <tr>
            <tr>
                <th scope="row">サイトを知ったきっかけ</th>
                <td>
                  <label>
                    <input type="checkbox" name="chance" value="search" id="chance_0">
                    検索サイト</label>
                  <br>
                  <label>
                    <input type="checkbox" name="chance" value="mouth" id="chance_1">
                    口コミ</label>
                  <br>
                  <label>
                    <input type="checkbox" name="chance" value="magazine" id="chance_2">
                    雑誌</label>
                  <br>
                  <label>
                    <input type="checkbox" name="chance" value="other" id="chance_3">
                    その他</label>
                  </td>
              </tr>
              <tr>
                <th scope="row">性別</td>
                    <td>
                      <label>
                        <input type="radio" name="sei" value="man" id="sei_0">
                          男</label>
                      <br>
                      <label>
                        <input type="radio" name="sei" value="woman" id="sei_1">
                          女</label>
                      </td>
                  </tr>
                  <tr>
                </tr>
                <tr>
                  <th scope="row">用件</th>
                  <td><select name="title" id="title">
                    <option value="web">WEBサイト制作について </option>
                    <option value="manage">WEBマネジメントについて </option>
                    <option value="recruit">採用について </option>
                    <option value="site">このサイトについて </option>
                    <option value="other">その他</option>
                  </select></td>
                </tr>
                <tr>
          
            
            
    
      </tbody>
    </table>
  </form>
  

anonymous No title
HTML
<!DOCTYPE html>
<html lang="ja">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>課題2-1</title>
</head>
<body fontsize = 30>
  <form action = "kadai_2-1.php" method = "post" >
    <p>名前</p>
    <input type = "text" name = "name" >
    <p>コメント</p>
    <textarea name = "comment" ></textarea><br>
    <input type = "submit" name = "送信">
  </form>
</body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html lang="ja">
<head>
    <link rel="stylesheet" href="kadai5_5_2.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="tel">
        <h1>電卓</h1>
        <input id="show_input" type="text" class="show_input">
        <input id="delete" onclick="delete_num()" type="button" class="delete" value="×"><br/>
        <input id="7" onclick="input_num(document.getElementById('7').value)" type="button" class="num" value="7">
        <input id="8" onclick="input_num(document.getElementById('8').value)" type="button" class="num" value="8">
        <input id="9" onclick="input_num(document.getElementById('9').value)" type="button" class="num" value="9">
        <input id="×" onclick="input_num(document.getElementById('×').value)" type="button" class="num" value="*"><br/>
        <input id="4" onclick="input_num(document.getElementById('4').value)" type="button" class="num" value="4">
        <input id="5" onclick="input_num(document.getElementById('5').value)" type="button" class="num" value="5">
        <input id="6" onclick="input_num(document.getElementById('6').value)" type="button" class="num" value="6">
        <input id="-" onclick="input_num(document.getElementById('-').value)" type="button" class="num" value="-"><br/>
        <input id="1" onclick="input_num(document.getElementById('1').value)" type="button" class="num" value="1">
        <input id="2" onclick="input_num(document.getElementById('2').value)" type="button" class="num" value="2">
        <input id="3" onclick="input_num(document.getElementById('3').value)" type="button" class="num" value="3">
        <input id="+" onclick="input_num(document.getElementById('+').value)" type="button" class="num" value="+"><br/>
        <input id="0" onclick="input_num(document.getElementById('0').value)" type="button" class="big_num" value="0">
        <input id="=" onclick="calc()" type="button" class="num" value="=">
        <input id="÷" onclick="input_num(document.getElementById('÷').value)" type="button" class="num" value="/"><br/>
    </div>
    <script>
        var result = document.getElementById("show_input");
        function input_num(x){
            document.getElementById("show_input").value=document.getElementById("show_input").value+x;
        }
        function delete_num(){
            document.getElementById("show_input").value="";
        }
        function calc() {
            result.value = new Function("return " + result.value)();
        }
    </script>
</body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html lang="ja">
<head>
    <link rel="stylesheet" href="kadai5_5.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="tel">
        <h1>ダイヤルパッド</h1>
        <input id="show_input" type="text" class="show_input">
        <input id="delete" onclick="delete_num()" type="button" class="delete" value="×"><br/>
        <input id="1" onclick="input_num(document.getElementById('1').value)" type="button" class="num" value="1">
        <input id="2" onclick="input_num(document.getElementById('2').value)" type="button" class="num" value="2">
        <input id="3" onclick="input_num(document.getElementById('3').value)" type="button" class="num" value="3"><br/>
        <input id="4" onclick="input_num(document.getElementById('4').value)" type="button" class="num" value="4">
        <input id="5" onclick="input_num(document.getElementById('5').value)" type="button" class="num" value="5">
        <input id="6" onclick="input_num(document.getElementById('6').value)" type="button" class="num" value="6"><br/>
        <input id="7" onclick="input_num(document.getElementById('7').value)" type="button" class="num" value="7">
        <input id="8" onclick="input_num(document.getElementById('8').value)" type="button" class="num" value="8">
        <input id="9" onclick="input_num(document.getElementById('9').value)" type="button" class="num" value="9"><br/>
        <input id="*" onclick="input_num(document.getElementById('*').value)" type="button" class="num" value="*">
        <input id="0" onclick="input_num(document.getElementById('0').value)" type="button" class="num" value="0">
        <input id="#" onclick="input_num(document.getElementById('#').value)" type="button" class="num" value="#">
    </div>
    <script>
        function input_num(x){
            document.getElementById("show_input").value=document.getElementById("show_input").value+x;
        }
        function delete_num(){
            document.getElementById("show_input").value="";
        }
    </script>
</body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1 id="title">Q. 1+1= ?</h1>
    <form>
        <input id="1" type="text">
        <input onclick="judge(document.getElementById('1').value)" type="button" value="答えを送信"><br/>
    </form>
    <script>
        function judge(ans){
            if(ans==""){
                alert('空欄です');
            }else if(ans=="2"){
                document.write("正解です");
            }else{
                document.write("間違いです");
            }
        }
    </script>
</body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html lang="ja">
<head>
    <link rel="stylesheet" href="kadai5_3.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1 id="title">タイトル</h1>
    <form>
        <input id="1" type="text">
        <input onclick="mk_title()" type="button" value="タイトルを変更"><br/>
    </form>
    <form>
        <input onclick="blue()" type="button" value="青"><br/>
    </form>
    <form>
        <input onclick="red()" type="button" value="赤"><br/>
    </form>
    <form>
        <input onclick="yellow()" type="button" value="黄"><br/>
    </form>
    <script>
        function mk_title(){
            document.getElementById("title").innerHTML=document.getElementById("1").value;
            document.getElementById("1").value="";
        }
        function blue(){
            document.getElementById("title").style.backgroundColor="blue";
            document.getElementById("title").style.color="white";
        }
        function red(){
            document.getElementById("title").style.backgroundColor="red";
            document.getElementById("title").style.color="white";
        }
        function yellow(){
            document.getElementById("title").style.backgroundColor="yellow";
            document.getElementById("title").style.color="black";
        }
    </script>
</body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html lang="ja">
<head>
    <link rel="stylesheet" href="kadai5_2.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form>
        <input id="1" type="text">
        <input onclick="tenki_a()" type="button" value="下に送信"><br/>
    </form>
    <form>
        <input id="2" type="text">
        <input onclick="tenki_b()" type="button" value="下に送信"><br/>
    </form>
    <form>
        <input id="3" type="text">
        <input onclick="tenki_c()" type="button" value="下に送信"><br/>
    </form>
    <form>
        <input id="4" type="text">
        <input onclick="tenki_d()" type="button" value="上に送信"><br/>
    </form>
    <script>
        function tenki_a(){
            document.getElementById("2").value=document.getElementById("1").value;
            document.getElementById("1").value="";
        }
        function tenki_b(){
            document.getElementById("3").value=document.getElementById("2").value;
            document.getElementById("2").value="";
        }
        function tenki_c(){
            document.getElementById("4").value=document.getElementById("3").value;
            document.getElementById("3").value="";
        }
        function tenki_d(){
            document.getElementById("1").value=document.getElementById("4").value;
            document.getElementById("4").value="";
        }
    </script>
</body>
</html>
Don't you submit code?
Submit