Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
HTML element
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Phrase elements==== Phrase elements are used for marking up phrases and adding structure or semantic meaning to text fragments. For example, the {{tag|em|o}} and {{tag|strong|o}} tags can be used for adding emphasis to text. =====General===== {{glossary}} {{term|term=abbr |content= {{XMLElement|abbr|Abbreviation}} }} {{defn|1= Marks an [[abbreviation]], and can make the full form available: {{code|lang=html|code=<abbr title="abbreviation">abbr.</abbr>}}}} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current.}} {{term|term=acronym |content= {{XMLElement|acronym|Acronym|deprecated=1}} }} {{defn|1= Similar to the {{code|lang=html|code=<abbr>}} element, but marks an [[acronym]]: {{code|lang=html|code=<acronym title="Hyper-Text Mark-up Language">HTML</acronym>}}}} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current, '''not supported''' in [[#HTML5|HTML5]]. Recommended replacement is the <code>abbr</code> tag.<ref>[https://www.w3schools.com/tags/tag_acronym.asp Acronym tag], acronym.</ref>}} {{term|term=dfn |content= {{XMLElement|dfn|Definition}} }} {{defn|1= Inline definition of a single term.}} {{defn|<code>DFN</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was fully '''standardized''' in [[#HTML32|HTML 3.2]]; still current.}} {{term|term=em |content= {{XMLElement|em|Emphasis}} }} {{defn|1= <em>Emphasis</em> (conventionally displayed in italics)}} {{defn|<code>EM</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{term|term=strong |content= {{XMLElement|strong|Importance}} }} {{defn|1= <strong>importance</strong>; originally strong emphasis (conventionally displayed bold). An [[voice browser|aural user agent]] may use different voices for emphasis. }} {{defn|<code>STRONG</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current, redefined in HTML5.}} {{glossary end}} =====Computer phrase elements===== These elements are useful primarily for documenting computer code development and user interaction through differentiation of source code ({{code|lang=html|code=<code>}}), variables ({{code|lang=html|code=<var>}}), user input ({{code|lang=html|code=<kbd>}}), and terminal or other output ({{code|lang=html|code=<samp>}}). {{glossary}} {{term|term=code |content= {{XMLElement|code|Sourcecode}} }} {{defn|1= A code snippet (<code>code example</code>). Conventionally rendered in a mono-space font.}} {{defn|<code>CODE</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{term|term=kbd |content= {{XMLElement|kbd|Keyboard}} }} {{defn|1= Keyboard β text to be entered by the user (<kbd>kbd example</kbd>).}} {{defn|<code>KBD</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{term|term=samp |content= {{XMLElement|samp|Sample}} }} {{defn|1= Sample output β from a program or script: (<samp>samp example</samp>).}} {{defn|<code>SAMP</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{term|term=var |content= {{XMLElement|var|Variable}} }} {{defn|1= Variable (<var>var example</var>).}} {{defn|<code>VAR</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{glossary end}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)