Kamis, 10 November 2016

BAB.5 pertemuan 5

kali ini saya akan memposting tutorial membuat kontak web html
langsung saja langkah-langkahnya
1. buka notepad anda
2. masukkan kode dibawah ini

 <html xinlns="http://www.w3.org/1999/xhtml" lang="en"xml : lang="en"xml : lang="en">
<head>
 <title>contact Us</title>
</head>
<body>
<h1>contact Us</h1>
<form action="contact.aspx" method="post"
name="frmRespondToAd">
  <fieldset>
   <legend>your message:</legend>
   <table>
    <tr>
     <td><label for="emailTo">To</label></td>
     <td><input type="text" name="txtTo"
readonly="readonly" id="emailTo" size="20" tabindex="2"></textarea></td>
      </tr>
      </table>
      </fieldset>
       <legend>how you found us:</legend>
       <table>
          <tr>
            <td><label for="emailbody">how did you hean of us </label></d>
            <td>
               <select name="selReferrer">
            <option value="google">google</option>
            <option value="ad">Local newspaper
ad</option>
           <option value="friend">friend</option>
           <option value="other">other</option>
       </select>
   </td>
   </tr>
   <tr>
      <td><label
for="newsletterSignup">Newsletter</label></td>
         <td><input type="checkbox" name="chkbody"
id="newsletterSignup" checked="checked" /> Ensure this box is checked if you would like to recive email updates</td>
    </tr>
    </tabel>
    </fieldset>
    <input type="submit"value="send message"/>

</form>
</body>
</html>


3. save dengan nama.html
    maka hasilnya akan seperti gambar dibawah ini


selamat mencoba :)







Tidak ada komentar: