Machine-translated by Google. Questions are authored in English.
Top

Discussion

In Hypertext Markup Language (HTML), a/an ______ is essentially a macro that allows a short name to be associated with replacement text.

  • A.Entity
  • B.Attribute
  • C.Comment
  • D.None of the mentioned above

Answer: A

The answer is an Entity.

In HTML (inherited from SGML), an entity is essentially a macro: a short name that stands for replacement text. Writing ©, for example, inserts the copyright symbol, and < inserts a less-than sign that would otherwise start a tag.

An attribute adds information to an element's start tag, and a comment is text ignored by the browser; neither replaces a name with text. Since entity fits, 'None of the mentioned above' is wrong.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.