<!ELEMENT A - - (%inline;)* -(A) -- anchor -->
<!ATTLIST A
%attrs; -- %coreattrs, %i18n, %events --
charset %Charset; #IMPLIED -- char encoding of linked resource --
type %ContentType; #IMPLIED -- advisory content type --
name CDATA #IMPLIED -- named link end --
href %URI; #IMPLIED -- URI for linked resource --
hreflang %LanguageCode; #IMPLIED -- language code --
target %FrameTarget; #IMPLIED -- render in this frame --
rel %LinkTypes; #IMPLIED -- forward link types --
rev %LinkTypes; #IMPLIED -- reverse link types --
accesskey %Character; #IMPLIED -- accessibility key character --
shape %Shape; rect -- for use with client-side image maps --
coords %Coords; #IMPLIED -- for use with client-side image maps --
tabindex NUMBER #IMPLIED -- position in tabbing order --
onfocus %Script; #IMPLIED -- the element got the focus --
onblur %Script; #IMPLIED -- the element lost the focus --
>哪个文件定义了这些实体,例如%LinkTypes;或%Script;?
发布于 2020-12-01 05:34:46
在linked HTML DTD中有entity declarations,例如
<!ENTITY % LinkTypes "CDATA"
-- space-separated list of link types
-->
<!ENTITY % Script "CDATA" -- script expression -->根据这些声明,您可以看到%LinkTypes;和%Script;都扩展为CDATA (字符数据);注释为它们的预期形式或用法提供了一些额外的指导。
https://stackoverflow.com/questions/65081334
复制相似问题