KIANO'S WORKSHOP
日历
天气
网志分类
· 所有网志
站内搜索
友情链接
· 歪酷博客
· 管理博客
· 崽崽

订阅 RSS

0005710

歪酷博客

powered by KIANO 联系方式:广交朋友,四海为家 M:保密 官网:www.mixzine.cn
« 上一篇: userAgent(ユーザーエージェント一覧) 下一篇: Browser detect »
KIANO @ 2008-02-14 12:27

So, You Want An "& Command", Huh?


By Joe Burns

 

What in the world is an "&" command?

     Ampersand commands ("&" is pronounced "ampersand") are quite useful, especially to me. I use them all over these HTML tutorials to create the characters not found on the keyboard or to make command characters show up on the page.

 

What I Mean

     Let's say you want a copyright insignia. Well, there isn't any copyright on the keyboard. That means you'll need to either create it as a graphic or use an "&" command to place it. Have you also noticed that all over my pages I show HTML commands like <HTML>? Don't you find that strange seeing as if I enclose HTML in < > brackets that it shouldn't show up on the page?

     What I am doing is using an "&" command to create the greater-than and less-than sign.

 

Here's How It Works

     Your browser reads commands inside of greater-than and less-than brackets. But did you know it also reads commands inside of an "&" and ";" (semicolon) insignia? Well, it does.

     Those who create the HTML code have created a slew of these commands that sit inside of an "&" and a ";". All you need to know is the little three- or four-letter code that goes between the "&" and the ";" and you'll be placing little insignias all over your page.

 


Here They Are

     Below is a chart showing as many "&" commands as I could find. Remember: You do not place these codes inside of < and > commands. These just sit as they appear in the chart below. They always begin with an "&" and end with a ";".

     Each chart cell is set up with the "&" command, as it should appear on your page, and then what the command created below. Like so:

 

&copy;
©

 

Capitalization Counts Here!

&lt;
<
&gt;
>
&amp;
&
&quot;
"
&nbsp;
(A Space)
&Ccedil;
Ç
&ccdil;
ç
&Ntilde;
Ñ
&ntilde;
ñ
&THORN;
Þ
&thorn;
þ
&Yacute;
Ý
&yacute;
ý
&yuml;
ÿ
&szlig;
ß
&AElig;
Æ
&Aacute;
Á
&Acirc;
Â
&Agrave;
À
&Aring;
Å
&Atilde;
Ã
&Auml;
Ä
&aelig;
æ
&aacute;
á
&acirc;
â
&agrave;
à
&aring;
å
&atilde;
ã
&auml;
ä
&ETH;
Ð
&Eacute;
É
&Ecirc;
Ê
&Egrave;
È
&Euml;
Ë
&eth;
ð
&eacute;
é
&ecirc;
ê
&egrave;
è
&euml;
ë
&Iacute;
Í
&Icirc;
Î
&Igrave;
Ì
&Iuml;
Ï
&iacute;
í
&icirc;
î
&igrave;
ì
&iuml;
ï
&Oacute;
Ó
&Ocirc;
Ô
&Ograve;
Ò
&Oslash;
Ø
&Otilde;
Õ
&Ouml;
Ö
&oacute;
ó
&ocirc;
ô
&ograve;
ò
&oslash;
ø
&otilde;
õ
&ouml;
ö
&Uacute;
Ú
&Ucirc;
Û
&Ugrave;
Ù
&Uuml;
Ü
&uacute;
ú
&ucirc;
û
&ugrave;
ù
&uuml;
ü
&reg;
®
&plusmn;
±
&micro;
µ
&para;
&middot;
·
&cent;
¢
&pound;
£
&yen;
¥
&frac14;
¼
&frac12;
½
&frac34;
¾
&sup1;
¹
&sup2;
²
&sup3;
³
&iquest;
¿
&deg;
°
&brvbar;
¦
&sect;
§
&laquo;
«
&raquo;
»
 


 

 Enjoy!





评论 / 个人网页 / 扔小纸条
* 昵称

已经注册过? 请登录

新用户请先注册 以便能显示头像及追踪评论回复

Email
网址
* 评论
表情
 


 

分类小组论坛
杂谈 , 娱乐、八卦 , 文学、艺术 , 体育 , 旅游、同城 , 象牙塔 , 情感 , 时尚、生活 , 星座 , 科技

请注意遵守中华人民共和国法律法规, 如威胁到本站生存, 将依法向有关部门报告, 同时本站的相关记录可能成为对您不利的证据.

相关法律法规
全国人大常委会关于维护互联网安全的决定
中华人民共和国计算机信息系统安全保护条例
中华人民共和国计算机信息网络国际联网管理暂行规定
计算机信息网络国际联网安全保护管理办法
计算机信息系统国际联网保密管理规定