<head>
 <script src="https://ajaxzip3.github.io/ajaxzip3.js" charset="UTF-8"></script> 
</head>

<form>
郵便番号<br>
<!-- ▼郵便番号入力(3桁+4桁) -->
<input type="text" name="zip31" size="4" maxlength="3"> - <input type="text" name="zip32" size="5" maxlength="4" onKeyUp="AjaxZip3.zip2addr('zip31','zip32','pref31','addr31','addr32');">
<br><br>
住所(都道府県)<br>
<!-- ▼住所入力(都道府県) -->
<input type="text" name="pref31" size="20">
<br><br>
住所(都道府県以降の住所)<br>
<!-- ▼住所入力(都道府県以降の住所) -->
<input type="text" name="addr31" size="40">
</form>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.