HTML entity (P4575)

From Wikidata
Jump to navigation Jump to search
escaping sequence in the source code of an HTML document that represents a textual character, either in the content of a text element or a tagged comment, or in the given value of an attribute
  • HTML character
  • escape sequence
Language Label Description Also known as
English
HTML entity
escaping sequence in the source code of an HTML document that represents a textual character, either in the content of a text element or a tagged comment, or in the given value of an attribute
  • HTML character
  • escape sequence

Data type

String

Statements

Constraints

(&(?:#(?:[0-9]+|x[0-9A-Fa-f]+);|[0-9A-Za-z]+;|A(?:Elig|MP|acute|circ|grave|ring|tilde|uml)|C(?:OPY|cedil)|E(?:TH|acute|circ|grave|uml)|GT|LT|I(?:acute|circ|grave|uml)|Ntilde|O(?:acute|circ|grave|slash|tilde|uml)|QUOT|REG|THORN|U(?:acute|circ|grave|uml)|Yacute|a(?:acute|c(?:irc|ute)|elig|grave|mp|ring|tilde|uml)|brvbar|c(?:cedil|e(?:dil|nt)|opy|urren)|d(?:eg|ivide)|e(?:acute|circ|grave|th|uml)|frac(?:1[24]|34)|gt|i(?:acute|circ|excl|grave|quest|uml)|l(?:aquo|t)|m(?:acr|i(?:cro|ddot))|n(?:bsp|ot|tilde)|o(?:acute|circ|grave|rd[fm]|slash|tilde|uml)|p(?:ara|lusmn|ound)|quot|r(?:aquo|eg)|s(?:ect|hy|up[1-3]|zlig)|t(?:horn|imes)|u(?:acute|circ|grave|ml|uml)|y(?:acute|en|uml)))(\g<1>)*
& then alphanumerics (for named character references); &# then numbers (for decimal numeric character references); or &#x then hexadecimals (for hexadecimal character references); all followed by a semicolon, unless a specified exception in the named character references table (English)