èªç€Ÿã®äŒæ¥ã«ã©ãŒã«åã£ããç³ã蟌ã¿ãã©ãŒã ãäœãããã«ãHTMLã䜿ããããšèããŠããŸãããïŒ
HTMLã®é
åã¯ãã«ã¹ã¿ãã€ãºæ§ã®é«ããã©ãŒã ã®æ§ç¯ãã§ããç¹ã§ãã
ããããå°éç¥èãæã£ãŠããªããšãã©ãŒã ãäœãã®ã¯é£ãããã§ãããã
ããã§ä»åã¯ã誰ã§ãã§ãããHTMLã掻çšããç³ã蟌ã¿ãã©ãŒã ã®äœãæ¹ã玹ä»ããŸãã
ã¿ã°ãµã³ãã«ãæ²èŒããŠããã®ã§ãèªç€Ÿã«æé©ãªç³ã蟌ã¿ãã©ãŒã å¶äœã®åèã«ããŠãã ããã
âŒHTMLã»CSSã§èªç±ã«ç³èŸŒã¿ãã©ãŒã ãäœæãããå Žåãformrunã®æŽ»çšããããã
formrunã§ãã©ãŒã ãäœæãããšãéçºãé¢åãªåçããŒã¿ã®ç®¡çãã¡ãŒã«éä¿¡ãªã©ã®è±å¯ãªããã¯ãšã³ãæ©èœãšã»ãã¥ãªãã£å¯Ÿçã®éçºãäžèŠã«ãªããŸããããã³ããšã³ãéçºã ãã§æžããããæéãšã³ã¹ããåæžããããšãã§ããŸãã
formrunã§ã¯ãHTMLã䜿ãããã¯ãªãã¯ã ãã®ç°¡åæäœã§ãã©ãŒã ãäœæããããšãã§ããŸãã詳ããã¯äžèšãã芧ãã ããã
>> formrun(ãã©ãŒã ã©ã³)ãšã¯ïŒãã®ç¹åŸŽãæ©èœã䜿ãæ¹ã培åºè§£èª¬
ç®æ¬¡
- ãHTMLãã©ãŒã ã®åºæ¬ç·šã6ã€ã®é ç®ã§äœã
- HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ ïŒãã©ãŒã äœãã§å¿ é ã®fromã¿ã°
- HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ¡ïŒinputã¿ã°ã§ããã¹ããã£ãŒã«ã
- HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ¢ïŒããã¹ããšãªã¢ãäœã
- HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ£ïŒã»ã¬ã¯ããã¿ã³ãäœã
- HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ€ïŒã©ãžãªãã¿ã³ãäœã
- HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ¥ïŒãã§ãã¯ããã¯ã¹ãäœã
- HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâŠïŒéä¿¡ãã¿ã³ãäœã
- ãHTMLãã©ãŒã ã®å¿çšç·šã質ãåäžãããã«ã¯
- HTMLã ãã§ãªãCSSã®æŽ»çšã§ç³ã蟌ã¿ãã©ãŒã ã®è³ªãåäž
- å ¥åãã©ãŒã ã®ããŒã¿ã¯å¿ ããµãŒããŒä¿åããã
- åèã«ãªãç³ã蟌ã¿(ãåãåãã)ãã©ãŒã ã®htmlãã¶ã€ã³ãµã³ãã«
- ããŒã«ã䜿ãã°æéãªã質ã®é«ãç³ã蟌ã¿ãã©ãŒã ãäœãã
- è€éãªããã¯ãšã³ãéçºã«èª²é¡ãæããŠããæ¹ã«ã¯formrunããããã
- ãŸãšã
ãHTMLãã©ãŒã ã®åºæ¬ç·šã6ã€ã®é ç®ã§äœã
HTMLã䜿ã£ããã©ãŒã ã¯ãè€æ°ã®ã³ãŒããçµã¿åãããŠäœæããŸãã
ãã©ãŒã ã§äœ¿ãäž»ãªé ç®ã¯ã以äžã®6çš®é¡ã§ãã
ããã¹ãå ¥åã§äœ¿ãé ç®
â ããã¹ããã£ãŒã«ã
1è¡ã§å ¥åãå®çµãããã®
- åå
- é»è©±çªå·
- ã¡ãŒã«ã¢ãã¬ã¹ããªã©
â¡ããã¹ããšãªã¢
1è¡ã§åãŸããªãããã¹ããå ¥åããæ¬
- ååãå 容
- ã³ã¡ã³ã
- ã¡ãã»ãŒãžããªã©
åçæã®éžæè¢ã§äœ¿ããé ç®
â¢ã»ã¬ã¯ããã¿ã³
ã¯ãªãã¯ãããšéžæè¢ã衚瀺ãããåçæ¹åŒ
â£ã©ãžãªãã¿ã³
éžæè¢ã®äžãã1ã€ãéžã¶åçæ¹åŒ
â€ãã§ãã¯ããã¯ã¹
éžæè¢ã®äžããåœãŠã¯ãŸãé ç®ã1ã€ä»¥äžéžã¹ãåçæ¹åŒ
å ¥åå®äºåŸã«äœ¿ãé ç®
â¥éä¿¡ãã¿ã³
ãã©ãŒã å ¥åã®å®äºåŸãåçå 容ãéä¿¡ãããã¿ã³
- éä¿¡
- è³Œå ¥ã»å¥çŽ
- å®äºãã¿ã³ããªã©
HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ ïŒãã©ãŒã äœãã§å¿ é ã®fromã¿ã°
HTMLã§ãã©ãŒã ãäœãéã¯ãå¿ ã<form>ã¿ã°ã掻çšããŸãã
äžèšã®ããã«ã<from>ãš</from>ã§ãã©ãŒã ã®å
šæ§æèŠçŽ ãæã¿èŸŒã¿ãŸãã
äŸã<form>ãã©ãŒã ã«å
¥ãããæ§æå
容ãå
¥å</form>
ãã©ãŒã ãæ§æããåé ç®ãæãããšã§ããã©ãŒã ããŒã¿ã®éä¿¡å ãéä¿¡æ¹æ³ãèšå®å¯èœã§ãã
<form action="confirm.php" method="post">
ããã«ããã¹ããã£ãŒã«ããªã©ãhtmlã¿ã°ãå
¥åãã
</form>
<from>ã§ãã䜿ãã³ãŒãã以äžã§çŽ¹ä»ããŸãã
action=”” Â
éä¿¡ãã¿ã³ã®ã¯ãªãã¯åŸã«ç§»åããããŒãžURLãèšå ¥
method=””
ãã©ãŒã ã«å
¥åããå
容(ããŒã¿)ãéä¿¡ããæ¹æ³ãèšå®
â»ããŒã¿ã®éä¿¡æ¹æ³ã¯getãpostã§å
¥åããŸãã
get:
actionå±æ§ã§æå®ããURLã§ã?ããšå
¥åãããããŒã¿ãè¿œå ããŠéä¿¡
â»methodå±æ§ã®nãçç¥ããã±ãŒã¹ã§ãgetããé©å¿ããã
post:
å
¥åããããã©ãŒã ã®å
容(ããŒã¿)ãæ¬æãšããŠãµãŒããŒããã°ã©ã ãžéä¿¡
â»ããŒã¿éä¿¡æ¹æ³ã§ã¯ãpostãã䜿ãå Žåãå€ãã
HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ¡ïŒinputã¿ã°ã§ããã¹ããã£ãŒã«ã
ããã¹ã1è¡ã§å ¥åå 容ãå®çµã§ããå ¥åããã¯ã¹ã§ãã<input>ã¿ã°ã䜿ã£ãHTMLã掻çšããŸãã
æ°åïŒ<input type="text" name="yourname">
type=ã®åŸãã¯ããâ âãã®ãªãã«ããã¹ããã£ãŒã«ãã®çš®é¡ãå ¥åããŠãã ããã
äŸãtype=”text “
ä»åã¯ããã¹ãå
¥åãããŠãããæ¬ãäœæãããããtextã䜿ããŸã
type=â â ã§äœ¿ãã®ã¯ã以äžã®3çš®é¡ã§ãã
ããã¹ãå ¥åãtext
typeå±æ§ãtextã«èšå®ïŒæ°åã»äŒæ¥åãªã©ã®å ¥åã«åœ¹ç«ã€
æ°åå ¥å(åè§æ°åã®å ¥åãå¯èœ)ãnumber
typeå±æ§ãnumberã«èšå®ïŒé»è©±çªå·ã»å¹Žéœ¢ãªã©ã®å ¥åã«åœ¹ç«ã€
ã¡ãŒã«ã¢ãã¬ã¹ãemail
typeå±æ§ãemailã«èšå®ïŒã¡ãŒã«ã¢ãã¬ã¹ã®å ¥åãå¯èœ
HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ¢ïŒããã¹ããšãªã¢ãäœã
è€æ°è¡ãå ¥åã§ããããã¹ããšãªã¢ãäœããšããtext areaã¿ã°ã䜿ããŸãã
CSSã掻çšããã°ãããã¹ããšãªã¢ã®å€§ããæå®ãå€æŽãå¯èœã§ãã
ã³ãŒãã®æåŸã«ã</textarea>ãæžãå¿ããªãããã«æ³šæãããŠãã ããã
<label for="comment">ã³ã¡ã³ã</label> <textarea id="comment" name="comment"></textarea>
HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ£ïŒã»ã¬ã¯ããã¿ã³ãäœã
è€æ°æ瀺ãããåçé ç®ã«å¯ŸããŠãæé©ãªåçãäžã€éžãã§ããã質å圢åŒã§ã¯ãselectã¿ã°ã䜿ããŸãã
ã»ã¬ã¯ãããã¯ã¹ã«è¡šç€ºããéžæè¢ã®å
容ã¯optionã䜿ã£ãŠèšèŒãå
šäœãselectã§æã¿ãŸãã
<select name="è²"> <option value="aka">èµ€</option> <option value="ao">é</option> <option value="kiiro">é»è²</option> </select>
éžæè¢ã3ã€ä»¥äžãããšãã®æŽ»çšãããããã§ãã
HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ€ïŒã©ãžãªãã¿ã³ãäœã
æ瀺ããéžæè¢ã®äžãããæé©ãª1ã€ãéžã¶åœ¢åŒã®åçã«æŽ»çšããã®ãradioã§ãã
inputã®typeå±æ§ã«ãtype=”radio”ã§æžã蟌ã¿ãå ããŸãã
labelã¯ããã¹ããã£ãŒã«ããšåæ§ãid ãšforãæžã蟌ãã§ããã§ãã¯ãã¿ã³ãšéžæé
ç®ãé£åãããŠãã ããã
<p>æ§å¥ãéžæ</p> <input id="male" type="radio" name="sex" value="male"><label for="male">ç·æ§</label> <input id="female" type="radio" name="sex" value="female"><label for="female">女æ§</label>
éžæè¢ã®èšå®ã«äžéã¯ãããŸããã1ã€ã®é ç®ãéžæãããšãèªåã§ä»ã®æ ã«ããŠãããã§ãã¯ã解é€ãããä»çµã¿ã®ãããåçãã¹ã®é²æ¢ãå¯èœã§ãã
HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâ¥ïŒãã§ãã¯ããã¯ã¹ãäœã
æ瀺ããåçé ç®ãããè€æ°ã®éžæè¢ãéžã¶åç圢åŒã«ã¯ãcheck boxãæé©ã§ãã
inputã®typeå±æ§ã¯ãtype=”checkbox”ã§æžã蟌ã¿ãŸãã
ã©ãžãªãã¿ã³ãäœãæãšåãã§ãlabelã®forãšinputã®idãæžã蟌ããšããã§ãã¯ããã¯ã¹ãšåçé
ç®ã®é£åãå¯èœã§ãã
<p>奜ããªå£ç¯</p> <input id="spring" type="checkbox" name="season" value="æ¥"><label for="spring">æ¥</label> <input id="summer" type="checkbox" name="season" value="å€"><label for="summer">å€</label> <input id="fall" type="checkbox" name="season" value="ç§"><label for="fall">ç§</label> <input id="winter" type="checkbox" name="season" value="å¬"><label for="winter">å¬</label>
HTMLã®ç³ã蟌ã¿ãã©ãŒã å®è·µç·šâŠïŒéä¿¡ãã¿ã³ãäœã
ã¢ã³ã±ãŒãåçåŸãå
容ãéä¿¡ããéã®ãã¿ã³ã¯ãsubmitã§äœããŸãã
äŸã”submit”value=”ãã¿ã³ã«è¡šç€ºãããæå”
<form action="//www-creators.com/rsc/receiver.php" method="post"> <input type="search" name="s" value=""> <input type="submit" value="éä¿¡ãã"> </form>
éä¿¡ãã¿ã³ã«è¡šç€ºããããã¹ãã®å
容ã¯ãèªç±ã«èšå®ã§ããŸãã
æ€çŽ¢ããã»å®äºã»æ¬¡ãžé²ããªã©ãå¿
èŠã«å¿ããŠäœ¿ãåããŠãã ããã
⌠HTMLã§ã®éçºã«äžå®ãæ±ããŠãããªãformrunããããã
è±å¯ãªãã³ãã¬ãŒãããçšéã«å¿ãããã®ãéžã³ãããã¹ããå
¥åããã ãã§ç°¡åã«ãã©ãŒã ãç·šéã»èšçœ®ã§ããŸãããã©ãŒã äœæã ãã§ãªãã顧客æ
å ±ã®åæã»ç®¡çãŸã§ãformrun1ã€ã§å®çµããŸãã
ãHTMLãã©ãŒã ã®å¿çšç·šã質ãåäžãããã«ã¯
HTMLã§äœããã©ãŒã ã®è³ªãåäžãããããã«ã圹ç«ã€ã³ãŒããèšå®ã玹ä»ããŸãã
labelïŒãã©ãŒã ã®åé ç®ãšãã£ãŒã«ããé£åããã
labelã¿ã°ã䜿ãããšã§ããã£ãŒããšã®é£åãã§ããŸãã
å
¥åæ¬ãã¯ãªãã¯ãããšãã¯ãªãã¯ããæ¬ãå
¥åç¶æ
ã«å€åããèšå®ã§ãã
åºæ¬çã«ãã¹ãŠã®é ç®ã«é©å¿ã§ããã³ãŒãã§ããèªåãä»ãã©ãã®å ¥åãããŠãããäžç®ã§èªèã§ããããã䜿ããããåäžã«ã€ãªãããŸãã
é
ç®åãlabelã§æã¿ãlabelã¯for=”ââ” ãé£åããããinputã¯id=”ââ” ãæžã蟌ã¿ãŸãã
<label for="rendou">ååïŒ</label> <input id="rendou" type="text" name="yourname">
ã解説ã
- label ã«ãfor=ârendouâ ã®æžã蟌ã¿Â
- input ã«ãid=ârendouâ ã®æžã蟌ã¿
ã
é£åãã³ãŒãã§å®£èšããããšã§ãé
ç®ãšãã©ãŒã ã®é£åãã§ããŸãã
placeholderïŒèãæåã衚瀺ãã
placeholderå±æ§ã䜿ãããšã§ãinputãštextareaã®ãã©ãŒã ã«ãèãæåã衚瀺ã§ããŸãã
ãã©ãŒã ã«ã©ã®ãããªå
容ãå
¥åãããã®èªå°ã«åœ¹ç«ã¡ãŸãã
<label for="yourname">æ°å</label>
<input type="text" name="yourname" placeholder="äœè€å€ªé">
<label for="comment">ãæèŠã»ãææ³</label>
<textarea id="comment" name="comment" placeholder="ãæèŠã»ãææ³ãèªç±ã«èšå
¥ããŠãã ãã"></textarea>
ã解説ã
- placeholder=”å ¥åãããå 容ã®æåå” ãè¿œå ããããšã§ããã©ãŒã ãéããŠãããããèãæåã®è¡šç€ºãå¯èœã§ãã
nameïŒéžæè¢ãã°ã«ãŒãåãã
nameã¯ãã©ãžãªãã¿ã³ãšãã§ãã¯ããã¯ã¹ã«åœ¹ç«ã€å±æ§ã§ããéžæè¢ã®å 容ããŸãšããããŸãã
ã解説ã
ã奜ããªå£ç¯ãã®inputã¯ãname=”season”
ã奜ããªå€©æ°ãã®inputã¯ãname=”time”
ã©ãžãªãã¿ã³ããã§ãã¯ããã¯ã¹ã®éžæé
ç®ã«çµ±äžæ§ãããå Žåã¯ãã°ã«ãŒãåããããšã§ãåçè
ã質åå
容ãç解ã§ããåŸåãé«ãŸããŸãã
<p>奜ããªå£ç¯</p>
<input id="spring" type="checkbox" name="season" value="æ¥"><label for="spring">æ¥</label>
<input id="summer" type="checkbox" name="season" value="å€"><label for="summer">å€</label>
<input id="fall" type="checkbox" name="season" value="ç§"><label for="fall">ç§</label>
<input id="winter" type="checkbox" name="season" value="å¬"><label for="winter">å¬</label>
<p>奜ããªæé</p>
<input id="morning" type="radio" name="time" value="æ"><label for="morning">æ</label>
<input id="afternoon" type="radio" name="time" value="æŒ"><label for="afternoon">æŒ</label>
<input id="night" type="radio" name="time" value="å€"><label for="night">å€</label>
resetïŒãªã»ãããã¿ã³ã衚瀺
formã¿ã°å
ã«å
¥åããå
šãŠãåæåããããã«reset ãæå¹ã§ãã
<form> <label>ãååïŒ</label><input type="text"> <input type="reset" value="ãªã»ãããã"> </form>
ã解説ã
inputã®typeå±æ§ã«ãtype=”reset” ãè¿œå
value=”ãã¿ã³ãæŒãããšã§èµ·ããå
容ãããã¹ãå” ãè¿œå
ãã¿ã³ã«ãªã»ããããæšãèšèŒããããšã§ã誀æãé²ããŸãã
åæå€ãèšå®ãã
åæå€ãèšå®ãããšãåçã«åãããèšå
¥ãéžæãå
¥åãããŠããç¶æ
ãäœããŸãã
placeholder(èãæåã®è¡šç€ºãã)ã§ã¯ãªããå®éã«ããã¹ããªã©ã®æ
å ±ãèšèŒãããŠããç¶æ
ã§ãã
ããã§ã¯ã4ã€ã®é ç®ã§åæå€ãæ²èŒããHTMLã玹ä»ããŸãã
ããã¹ããšãªã¢
<input type="text" value="衚瀺ããããããã¹ãã®å
容ãå
¥å" >
ããã¹ããšãªã¢ã¯ãè€æ°è¡ã®èªç±èšå
¥ãã§ããããã¹ãããã¯ã¹ã§ãã
åºæ¬ã®ã³ãŒãã«valueå±æ§ããvalue=ââââ ããè¿œå ãããšãåæå€ã®ããã¹ãå
¥åãã§ããŸãã
ããã¹ããã£ãŒã«ã
<input type="text" value="衚瀺ããããããã¹ãã®å
容ãå
¥å" name="name">
ããã¹ããã£ãŒã«ãã¯ã1è¡ã§åãŸãå
容ã®å
¥åã«äœ¿ãããã¹ãããã¯ã¹ã§ãã
åºæ¬ã®ã³ãŒãã«valueå±æ§ããvalue=ââââ ããè¿œå ãããšãåæå€ã®ããã¹ãå
¥åãã§ããŸãã
ã»ã¬ã¯ãããã¯ã¹
<select name="è²">
  <option value="aka"selected>赀</option>
  <option value="ao">é</option>
  <option value="kiiro">é»è²</option>
</select>
衚瀺ãããéžæè¢ã®äžããæé©ãªå
容ã1ã€éžæããåçæ¹æ³ã«ãã»ã¬ã¯ãããã¯ã¹ãæå¹ã§ãã
åæå€èšå®ããããšãåãããäžã€ã®éžæè¢ã«ãã§ãã¯ãå
¥ã£ãŠããç¶æ
ã«ã§ããŸãã
èšå®æ¹æ³ã¯ããã§ãã¯ãå ¥ãããé ç®ã®optionã«ã selected ããè¿œå ããã ãã§ãã
ã©ãžãªãã¿ã³ã»ãã§ãã¯ããã¯ã¹
<p>æ§å¥ãéžæ</p>
<input type="radio" name="sex" value="male"><label>ç·æ§</label>
<input type="radio" name="sex" value="female" checked><label>女æ§</label>
ã©ãžãªãã¿ã³ããã§ãã¯ããã¯ã¹ã§åæå€ãèšå®ããå Žåã¯ãã checked ãã䜿ããŸãã
ãã§ãã¯ãå
¥ããŠããããé
ç®ã®inputã«ã checked ããå
¥åãããšå
容ãé©å¿ãããŸãã
HTMLã ãã§ãªãCSSã®æŽ»çšã§ç³ã蟌ã¿ãã©ãŒã ã®è³ªãåäž
CSSã¯ãã©ãŒã ã®èŠãç®ããã¶ã€ã³æ§ãé«ããéã«æŽ»èºãããããã°ã©ãã³ã°èšèªã§ãã
HTMLããã©ãŒã ã®æ çµã¿ãäžèº«ãèšèšããåŸãæ çµã¿ã®èŠãç®ãCSSã§èª¿æŽãã圹å²ãæãããŸãã
ç³ã蟌ã¿ãã©ãŒã ã®èŠãç®ãããè¯ãããããã«ã¯ãCSSã®æŽ»çšãæ¬ ãããŸããã
CSSã®ã³ãŒãã¯ãã<style> ã </style> ã§ããÂ
headã¿ã°ã«æ§ç¯ãããé ç®ããã¹ãŠæžãäžããåŸã</head>ãæžãçŽåã«ã<style> ã </style> ãå ¥åããŸãã
ãCSSã®åºæ¬ã®æžãæ¹ã
ã»ã¬ã¯ã¿ {
ããããã£ïŒå€
}
äžèšã®æ§æã§ãHTMLã®ããã©ã®éšåãã®ãäœãããã©ã®ããã«å€æŽããããã宣èšããŸãã
ã»ã¬ã¯ã¿
ã©ã®éšåã®ãã¶ã€ã³ã®å€æŽããããå
¥åããå Žæã§ãã
ãid=ââââ class=ââââããªã©ãidãclassã®åŸã«ç¶ãã â  â ãã«å
¥ãå±æ§åãã»ã¯ã¬ã¿ã§ãã
ããããã£
ã»ã¯ã¬ã¿ã§æå®ããéšåã®ãäœããå€æŽãããå
¥åããå Žæã§ãã
æåãµã€ãºã»è²å€æŽã»äžç·ãåŒããªã©ã§äœ¿ããããã©ãŒã ã®èŠãç®åäžã«åŒ·ã圱é¿ããŸãã
å€
ã»ã¯ã¬ã¿ãšããããã£ã§æå®ãããã©ã®éšåã®äœããã©ã®ããã«å€æŽãããããå
¥åããå Žæã§ãã
æåã®å€§ããããâãã©ã³ãã«ãããæåå士ã®æèŠããâããªç©ºããããªã©ãå
·äœçã«æ瀺ããŸãã
èªç€Ÿãäœããããã¶ã€ã³ã«äŒŒããã¶ã€ã³ãåèã«ãããšãå¹ççãªãã©ãŒã äœæãå¯èœã§ãã
åèèšäºâ¶ïž ã³ããã§å®è£ ïŒããã«äœ¿ããCSSãµã³ãã«ã³ãŒããŸãšã
å ¥åãã©ãŒã ã®ããŒã¿ã¯å¿ ããµãŒããŒä¿åããã
ãã©ãŒã å ¥åäžã誀ã£ãŠããŒãžé¢è±ãæŽæ°ããããšããä»ãŸã§å ¥åããŠããå 容ãæ¶ããŠããŸããšããŠãŒã¶ãŒã¯ããæ°ãç¡ããããã©ãŒã ã®éä¿¡ãè«Šããå¯èœæ§ããããŸãã
äžåºŠå
¥åããå
容ããµãŒããŒä¿åããã«ã¯ããGarlic.jsãã®å°å
¥ãããããã§ãã
ãŠãŒã¶ãŒãééããŠã¿ãããã©ãŠã¶ãŒãæ¶ããŠããå
¥åããããŒã¿ã¯å€±ãããŸããã
ãGarlic.jsã®äœ¿ãæ¹ã
Garlic.jsã®ããŠã³ããŒãåŸã<body >ã®åŸã«èµ€åã®éšåãå
¥åããŠãã ããã
<!DOCTYPE html>
<html lang=ââ>
<meta charset=utf-8>
<body>
<script src=âjquery.jsâ></script>
<script src=âgarlic.jsâ></script>
<form data-persist=âgarlicâ method=âpostâ>
<p> <input type=âtextâ name=âaâ> </p>
<p> <textarea rows=10 cols=30 name=âbâ></textarea> </p>
<p> <input type=âsubmitâ value=âãã©ãŒã â> </p>
</form>
</body>
</html>
<form data-persist=”garlic” method=”post”> ãå ¥åããããšã§ããã©ãŒã ã«å ¥åããå 容ã®ãèªåæ°žç¶åãã§ããŸãã
âŒformrunãªãactionå±æ§ã«ã«ã¹ã¿ã URLãçµã¿èŸŒãã ãã§èªç±ã«ãã©ãŒã äœæã§ããŸãã
ããã¯ãšã³ãã®æ§ç¯ã¯äžèŠãããŒã¿ã®ç®¡çãã¡ãŒã«éä¿¡ã»ã»ãã¥ãªãã£å¯Ÿçã¯formrunã«ãä»»ããã ããã
åèã«ãªãç³ã蟌ã¿(ãåãåãã)ãã©ãŒã ã®htmlãã¶ã€ã³ãµã³ãã«
ç³ã蟌ã¿ãã©ãŒã ãäœæããéãåèã«ãªããã¶ã€ã³ãµã³ãã«ã3ã€çŽ¹ä»ããŸãã
ã·ã³ãã«ã§å¿ èŠæäœéã«æããå ¥åé ç®ïœDesign Addicted
https://design-addicted.de/contact-us/
ãªã©ã³ãã®ãã¶ã€ã³äŒç€Ÿãæ²èŒããŠãããåãåãããã©ãŒã ã§ãã
å
¥åé
ç®ã¯ããâ åå â¡ã¡ãŒã«ã¢ãã¬ã¹ â¢èªç±èšè¿°ã®ã³ã¡ã³ãã»ã¡ãã»ãŒãžãã®3ã€ã®ã¿ãé
ç®ãæäœéã«ããããšã§ããŠãŒã¶ãŒã®è² æ
ãåæžå¯èœã§ãã
è²å³ãæãããã¶ã€ã³ã®äžãéä¿¡ãã¿ã³ã¯èµ€è²ã§ç®ç«ã€ä»çµã¿ã§ãã
ãŠãŒã¶ãŒã«å¯ãæ·»ã£ããã©ãŒã ãé åïœæ¥œå€©åžå Ž
https://grp01.id.rakuten.co.jp/rms/nid/registfwd
åœå æ倧æã®ãªã³ã©ã€ã³ã¢ãŒã«ã楜倩åžå Žãã®äŒå¡ç»é²ãã©ãŒã ã§ãã
å ¥åé ç®ãå€ãããããŠãŒã¶ãŒã¹ãã¬ã¹ãæžããããã«äžèšã®ãããªå·¥å€«ãããŠããŸãã
- å ¥åå¿ é ç®æãèµ€åã§èšèŒãã
- å ¥åäŸãèãåã§è¡šç€º
- åçæ¹æ³ã®è©³ãã説æã確èªã§ããã詳ãããã«ãããèšçœ®
- ç»é¢äžéšã«äœæ¥é ç®ãšçŸåšå°ã衚瀺(â äŒå¡æ å ±ã®å ¥åâ¡å ¥åå 容ã®ç¢ºèªâ¢ç»é²å®äºãã®éšå)
ååé
éçšã®äœæãã¯ã¬ãžããã«ãŒããªã©ãéèŠãªå人æ
å ±ãå
¥åããŠãããããšãæèããŠãã©ã€ãã·ãŒããªã·ãŒã®èšèŒãããŠããããããŠãŒã¶ãŒã¯ä¿¡é Œæãæã£ãŠå
容å
¥åãã§ããŸãã
ã°ã©ããŒã·ã§ã³ã«ã©ãŒãç®ãåŒãïœWOWOW COMMUNICATIONS
https://www.wowcom.co.jp/contact/estimate/
ãšã³ã¿ã¡æ§ã®é«ãçªçµãèŠèŽè
ãžå±ããŠãããWOWOW COMMUNICATIONSãã®ãåãåãããã©ãŒã ã§ãã
倧ããªç¹åŸŽã¯ãèæ¯è²ãèªåã§å€åããŠããããšã§ãããã©ãŒã 以å€ã®ããŒãžãèæ¯ãé»ãç·ãéããã³ã¯ã®ã°ã©ããŒã·ã§ã³ã§å€åããŸãã
äŒæ¥ã€ã¡ãŒãžã«æ²¿ã£ãã¯ã¯ã¯ã¯æãæŒåºãã趣åãåãããäºäŸã§ãã
ããŒã«ã䜿ãã°æéãªã質ã®é«ãç³ã蟌ã¿ãã©ãŒã ãäœãã
HTMLã掻çšããããšã§ãèªç€Ÿã®çæ³ã«åã£ãç³ã蟌ã¿ãã©ãŒã ãäœããŸãã
ãã©ãŒã äœææã®æé ãšã³ãã¯ã以äžã®éãã§ãã
- ç³ã蟌ã¿ãã©ãŒã ã¯6ã€ã®HTMLé ç®ã§äœã
- ãã©ãŒã ã®è³ªãåäžãããããã«åæå€ãªã©ã®èšå®ããã
- å ¥åããŒã¿ã®ããŒã¿ã¯ãµãŒããŒä¿åã§ããããã«èšå®ãã
- CSSã䜿ãããšã§ãã©ãŒã ã®è³ªãããé«ãããã
Â
ãã ãããã©ãŒã äœææã«ã¯ããŒã¿ç®¡çãã¡ãŒã«éä¿¡ãã¹ãã 察çãªã©ãã©ãŒã äœæ以å€ã®éçºãå¿ èŠã§ãã
è€éãªããã¯ãšã³ãéçºã«èª²é¡ãæããŠããæ¹ã«ã¯formrunããããã
ãã£ã1è¡ã®ã¹ã¯ãªãããåã蟌ãã ãã§ç ©éãªããã¯ãšã³ãéçºãäžèŠãšãªãããã©ãŒã ã®ãã¶ã€ã³èšèšã«éäžããããšãã§ããŸãã
ããŒã¿ç®¡çãã¡ãŒã«éä¿¡ãã¯ããå å®ã®æ©èœãšã»ãã¥ãªãã£å¯Ÿçã§ããªãã®ãã©ãŒã ç°å¢æ§ç¯ããµããŒãããŸãã
ãŸããHTMLã§ã®ãã©ãŒã éçºã«äžå®ãæ±ããŠããæ¹åãã«ãã¯ãªãã¯ã ãã®ç°¡åæäœã ãã§ãã©ãŒã ãäœæã§ããç°å¢ããçšæããŠããŸãããã²äžåºŠãè©Šããã ããã
ãŸãšã
ããã§ã¯ãHTMLã䜿ã£ããã©ãŒã äœæã®åºæ¬ããå¿çšãŸã§ãæ§ã ãªäœææ¹æ³ãšäœ¿çšæè¡ã«ã€ããŠèª¬æããŸããã
ãã©ãŒã ã¯ãŠã§ããµã€ããŠãŒã¶ãŒã®å ¥åãå¹ççã«åéã§ããéèŠãªããŒã«ã§ããæ£ããèšèšããããã©ãŒã ã¯ããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ãåäžãããã ãã§ãªããããŒã¿åéã®ç²ŸåºŠãåäžããŸãã
HTMLã䜿çšããããšã§åºæ¬çãªãã©ãŒã ã®æ§é ããå§ãŸããããŸããŸãªå ¥åã¿ã€ããå±æ§ã掻çšããããå¹æçã§ãŠãŒã¶ãŒãã¬ã³ããªãŒãªãã©ãŒã ãäœæããããšãã§ããŸãã
ãã®èšäºãåèã«HTMLã§ã®ãã©ãŒã äœæãç解ããããå®çšçãªãŠã§ãããŒãžã®éçºãè¡ããŸãããã
formrunããã©ãŒã äœæã顧客管çã«é¢ããæ å ±ãçºä¿¡ããŠãããŸãã
EFOïŒãšã³ããªãŒãã©ãŒã æé©åïŒãåãåãã察å¿ãªã©ã
ãã©ãŒã ã«é¢ãããæ©ã¿ã解決ããŸãã