Other   « HTML <meta> tag | HOME | Network »

 ■ < tag > カッコの使い方

Blog上でタグの説明をするとき、普通に< >を使って書き込むと、それがホントのタグとして認識されて、ページが誤作動する。

そのために、代替文字を使う。

&lt; = <
&gt; = >
(ほんとは&は半角。)

こんな感じになる。

<div class="menu-box">

実際は、前か後ろのカッコ一つだけ変えればOK。
プラグインで、もっと簡単に出来るみたい。

投稿者 tomopugh : 2007年03月06日 14:48

Comment

Please comment !




Save the info?


  (Please don't click on "post" twice. It takes time a bit to change to the next screen!!)