zoukankan      html  css  js  c++  java
  • HTML实体

    什么是HTML实体:  

    html文件要在网页上显示一些特殊符号 所用的代码 就是实体。

    格式:

    &代码;

    注意:实体对大小写敏感。

    ASCII

    结果

    描述

    实体名称

    实体编号

    "

    quotation mark

    "

    "

    '

    apostrophe

    '

    '

    &

    ampersand

    &

    &

    <

    less-than

    &lt;

    <

    >

    greater-than

    &gt;

    >

    符号实体

    结果

    描述

    实体名称

    实体编号

     

    non-breaking space

    &nbsp;

     

    ¡

    inverted exclamation mark

    &iexcl;

    ¡

    cent

    &cent;

    ¢

    pound

    &pound;

    £

    ¤

    currency

    &curren;

    ¤

    yen

    &yen;

    ¥

    |

    broken vertical bar

    &brvbar;

    ¦

    §

    section

    &sect;

    §

    ¨

    spacing diaeresis

    &uml;

    ¨

    ©

    copyright

    &copy;

    ©

    a

    feminine ordinal indicator

    &ordf;

    ª

    «

    angle quotation mark (left)

    &laquo;

    «

    ¬

    negation

    &not;

    ¬

     

    soft hyphen

    &shy;

     

    ®

    registered trademark

    &reg;

    ®

    ˉ

    spacing macron

    &macr;

    ¯

    °

    degree

    &deg;

    °

    ±

    plus-or-minus

    &plusmn;

    ±

    2

    superscript 2

    &sup2;

    ²

    3

    superscript 3

    &sup3;

    ³

    spacing acute

    &acute;

    ´

    μ

    micro

    &micro;

    µ

    paragraph

    &para;

    ·

    middle dot

    &middot;

    ·

    ¸

    spacing cedilla

    &cedil;

    ¸

    1

    superscript 1

    &sup1;

    ¹

    o

    masculine ordinal indicator

    &ordm;

    º

    »

    angle quotation mark (right)

    &raquo;

    »

    ¼

    fraction 1/4

    &frac14;

    ¼

    ½

    fraction 1/2

    &frac12;

    ½

    ¾

    fraction 3/4

    &frac34;

    ¾

    ¿

    inverted question mark

    &iquest;

    ¿

    ×

    multiplication

    &times;

    ×

    ÷

    division

    &divide;

    ÷

     

    字符实体

    结果

    描述

    实体名称

    实体编号

    à

    capital a, grave accent

    &Agrave;

    À

    á

    capital a, acute accent

    &Aacute;

    Á

    Â

    capital a, circumflex accent

    &Acirc;

    Â

    Ã

    capital a, tilde

    &Atilde;

    Ã

    Ä

    capital a, umlaut mark

    &Auml;

    Ä

    Å

    capital a, ring

    &Aring;

    Å

    Æ

    capital ae

    &AElig;

    Æ

    Ç

    capital c, cedilla

    &Ccedil;

    Ç

    è

    capital e, grave accent

    &Egrave;

    È

    é

    capital e, acute accent

    &Eacute;

    É

    ê

    capital e, circumflex accent

    &Ecirc;

    Ê

    Ë

    capital e, umlaut mark

    &Euml;

    Ë

    ì

    capital i, grave accent

    &Igrave;

    Ì

    í

    capital i, acute accent

    &Iacute;

    Í

    Î

    capital i, circumflex accent

    &Icirc;

    Î

    Ï

    capital i, umlaut mark

    &Iuml;

    Ï

    D

    capital eth, Icelandic

    &ETH;

    Ð

    Ñ

    capital n, tilde

    &Ntilde;

    Ñ

    ò

    capital o, grave accent

    &Ograve;

    Ò

    ó

    capital o, acute accent

    &Oacute;

    Ó

    Ô

    capital o, circumflex accent

    &Ocirc;

    Ô

    Õ

    capital o, tilde

    &Otilde;

    Õ

    Ö

    capital o, umlaut mark

    &Ouml;

    Ö

    Ø

    capital o, slash

    &Oslash;

    Ø

    ù

    capital u, grave accent

    &Ugrave;

    Ù

    ú

    capital u, acute accent

    &Uacute;

    Ú

    Û

    capital u, circumflex accent

    &Ucirc;

    Û

    ü

    capital u, umlaut mark

    &Uuml;

    Ü

    Y

    capital y, acute accent

    &Yacute;

    Ý

    T

    capital THORN, Icelandic

    &THORN;

    Þ

    ß

    small sharp s, German

    &szlig;

    ß

    à

    small a, grave accent

    &agrave;

    à

    á

    small a, acute accent

    &aacute;

    á

    a

    small a, circumflex accent

    &acirc;

    â

    ã

    small a, tilde

    &atilde;

    ã

    ä

    small a, umlaut mark

    &auml;

    ä

    å

    small a, ring

    &aring;

    å

    æ

    small ae

    &aelig;

    æ

    ç

    small c, cedilla

    &ccedil;

    ç

    è

    small e, grave accent

    &egrave;

    è

    é

    small e, acute accent

    &eacute;

    é

    ê

    small e, circumflex accent

    &ecirc;

    ê

    ë

    small e, umlaut mark

    &euml;

    ë

    ì

    small i, grave accent

    &igrave;

    ì

    í

    small i, acute accent

    &iacute;

    í

    î

    small i, circumflex accent

    &icirc;

    î

    ï

    small i, umlaut mark

    &iuml;

    ï

    e

    small eth, Icelandic

    &eth;

    ð

    ñ

    small n, tilde

    &ntilde;

    ñ

    ò

    small o, grave accent

    &ograve;

    ò

    ó

    small o, acute accent

    &oacute;

    ó

    ô

    small o, circumflex accent

    &ocirc;

    ô

    õ

    small o, tilde

    &otilde;

    õ

    ö

    small o, umlaut mark

    &ouml;

    ö

    ø

    small o, slash

    &oslash;

    ø

    ù

    small u, grave accent

    &ugrave;

    ù

    ú

    small u, acute accent

    &uacute;

    ú

    û

    small u, circumflex accent

    &ucirc;

    û

    ü

    small u, umlaut mark

    &uuml;

    ü

    y

    small y, acute accent

    &yacute;

    ý

    t

    small thorn, Icelandic

    &thorn;

    þ

    ÿ

    small y, umlaut mark

    &yuml;

    ÿ

     

    显示结果

    描述

    实体名称

    实体编号

     

    空格

    &nbsp;

     

    <

    小于号

    &lt;

    <

    >

    大于号

    &gt;

    >

    &

    和号

    &amp;

    &

    "

    引号

    &quot;

    "

    '

    撇号

    &apos; (IE不支持)

    '

    &cent;

    ¢

    &pound;

    £

    人民币

    &yen;

    ¥

  • 相关阅读:
    Unsupported major.minor version 51.0(JDK版本错误)
    String、StringBuilder和StringBuffer的区别
    循环依赖常问问题,spring三级缓存解决循环依赖解析图
    ens33网卡失效ipaddr查询不到ip: 出现:ens33: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 00:0c:29:2c:8d:e1 brd ff:ff:ff:ff:ff:ff
    redis被攻击,导致redis连接不上,RDB异常解决方案
    项目集成seata和mybatisplus冲突问题解决方案:(分页插件失效, 自动填充失效, 自己注入的id生成器失效 找不到mapper文件解决方案)
    seata服务端搭建和客户端配置(使用nacos进行注册发现,使用mysql进行数据持久化),以及过程中可能会出现的问题与解决方案
    通过串口(蓝牙WiFi)与Arduino通信
    Python callable函数判断某个对象是否可调用
    Python 通过PyUserInput模拟键鼠操作
  • 原文地址:https://www.cnblogs.com/lxx2014/p/9894940.html
Copyright © 2011-2022 走看看