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!
====Other inline elements==== {{glossary}} {{term|term=br |content= {{XMLElement|br|Line Break|end=no}} }} {{defn|1= A forced line break.}} {{defn|'''Standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{term|term=bdi |content= {{XMLElement|bdi|Bidirectional Isolation}} }} {{defn|1= Isolates an inline section of text that may be formatted in a different direction from other text outside of it, such as user-generated content with unknown directionality.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=bdo |content= {{XMLElement|bdo|Bidirectional Override}} }} {{defn|1= Marks an inline section of text in which the reading direction is the opposite from that of the parent element.}} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current.}} {{term|term=cite |content= {{XMLElement|cite|Citation}} }} {{defn|1= A citation or a reference for a quote or statement in the document.}} {{defn|CITE existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{defn|''Note:'' The HTML 5 specifications have been confusingly [[Fork (software development)|forked]],<ref name=finalars>{{cite web |url= https://arstechnica.com/information-technology/2014/10/html5-specification-finalized-squabbling-over-who-writes-the-specs-continues/ |title=HTML5 specification finalized, squabbling over specs continues |publisher=Ars Technica |date=29 October 2014 |access-date=29 October 2014}}</ref> including with regard to this element. In HTML 4 and earlier, {{tag|cite|o}} was for "a citation or a reference to other sources" without any particular limitations or requirements.<ref>{{cite web |title=9.2.1 Phrase elements: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, and ACRONYM |work=HTML 4.01 Specification |date=24 December 1999 |publisher=[[W3C]] |url= https://www.w3.org/TR/html401/struct/text.html#h-9.2.1 |access-date=26 July 2018}}</ref> The [[W3C]] HTML 5 spec uses a refinement of this idea, reflecting how the element has historically been used, but now requiring that it contain (but not be limited to) at least one of "the title of the work or the name of the author (person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."<ref>[[#HTML52|''HTML 5.2 W3C Recommendation'']], at [https://www.w3.org/TR/html52/textlevel-semantics.html#the-cite-element "Β§4.5.6. The cite element"].</ref> But the WHATWG spec only permits the element to be used around the title of a work.<ref>[[#WHATWGLS|''HTML Living Standard'']], at [https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-cite-element "Β§4.5.6 The cite element"].</ref> The W3C specs began with the broader definition, then switched to the very narrow one after WHATWG made this change. However, W3C reverted their own change in 2012, in response to negative developer-community feedback; the element was in broadly-deployed use with the broader scope, e.g., various blog and forum platforms wrap commenters' IDs and e-mail addresses in {{tag|cite}}, and people using the element for bibliographic citations were (and still are) routinely wrapping each entire citation in this element. Another problem with the element is that WHATWG recommends that it be italicized by default (thus almost all browsers do so), because it (in their view) is only for publication titles. By convention, however, only certain kinds of titles actually take italics, while others are expected to be put in quotation marks, and standards may actually vary by publishing context and language. Consequently, many website authors and admins use a site-wide stylesheet to undo this element's auto-italics. }} {{term|term=data |content= {{XMLElement|data|Data}} }} {{defn|1= Links inline content with a machine-readable translation.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data|title=<data>|website=MDN Web Docs}}</ref>}} {{term|term=del |content= {{XMLElement|del|Deleted}} }} {{defn|1= Deleted text. Typically rendered as a [[strikethrough]]: <del>Deleted text.</del>}} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current.}} {{term|term=ins |content= {{XMLElement|ins|Inserted}} }} {{defn|1= Inserted text. Often used to mark up replacement text for material struck with {{tag|del|o}} or {{tag|s|o}}. Typically rendered [[underline]]d: <ins>Inserted text.</ins>}} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current.}} {{defn|Both {{tag|ins|o}} and {{tag|del|o}} elements may also be used as block elements: containing other block and inline elements. However, these elements must still remain wholly within their parent element to maintain a well-formed HTML document. For example, deleting text from the middle of one paragraph across several other paragraphs and ending in a final paragraph would need to use three separate {{tag|del|o}} elements. Two {{tag|del|o}} elements would be required as inline elements to indicate the deletion of text in the first and last paragraphs, and a third, used as a block element, to indicate the deletion in the intervening paragraphs.}} {{term|term=mark |content= {{XMLElement|mark|Mark}} }} {{defn|1= Produces text that looks <mark>like this</mark>. Intended for highlighting relevant text in a quotation.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=q |content= {{XMLElement|q|Quote}} }} {{defn|1= An inline quotation (for block level quotation see {{tag|[[#blockquote|blockquote]]|o}}). Quote elements may be nested. {{tag|q|o}} {{em|should}} automatically generate quotation marks in conjunction with style sheets. Practical concerns due to browser non-compliance may force authors to find workarounds. The <code>cite</code> attribute gives the source, and must be a fully qualified [[Uniform Resource Identifier|URI]]. }} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current.}} {{defn|{{strong|Note:}} Lengthy inline quotations may be displayed as indented blocks (as <code>block-quote</code>) using style sheets. For example, with a suitable CSS rule associated with <code>q.lengthy</code>: {{tag|q|attribs=class="lengthy" |content=Lengthy quote here.}}}} {{term|term=rb |content= {{XMLElement|rb|Ruby Annotation Base}} }} {{defn|1= Represents the base component of a [[Ruby character|ruby annotation]].}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=http://www.quackit.com/html/tags/html_rb_tag.cfm|title=HTML <rb> Tag|website=www.quackit.com}}</ref>}} {{term|term=rp |content= {{XMLElement|rp|Ruby Fallback Parenthesis}} }} {{defn|1= Provides fallback parenthesis for browsers lacking [[Ruby character|ruby annotation]] support.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp|title=<rp>: The Ruby Fallback Parenthesis element|website=MDN Web Docs}}</ref>}} {{term|term=rt |content= {{XMLElement|rt|Ruby Annotation Pronunciation}} }} {{defn|1= Indicates pronunciation for a character in a [[Ruby character|ruby annotation]].}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt|title=<rt>: The Ruby Text element|website=MDN Web Docs}}</ref>}} {{term|term=rtc |content= {{XMLElement|rtc|Ruby Semantic Annotation}} }} {{defn|1= Semantic annotations for a [[Ruby character|ruby annotation]].}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc|title=<rtc>: The Ruby Text Container element|website=MDN Web Docs}}</ref>}} {{term|term=ruby |content= {{XMLElement|ruby|Ruby Annotation}} }} {{defn|1= Represents a [[Ruby character|ruby annotation]] for showing the pronunciation of East Asian characters.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby|title=<ruby>|website=MDN Web Docs}}</ref>}} {{term|term=script |content= {{XMLElement|script|Script}} }} {{defn|1= Places a [[scripting language|script]] in the document. Also usable in the head and in block contexts. {{em|Note:}} {{tag|script|o}} is not itself either a block or inline element; by itself it should not display at all, but it can contain instructions to dynamically generate either both block or inline content. }} {{defn|'''Standardized''' in [[#HTML32|HTML 3.2]]; still current.}} {{term|term=sub |content= {{XMLElement|sub|Subscript}} }} {{term|term=sup |content= {{XMLElement|sup|Superscript}} |multi=y}} {{defn|1= Mark <sub>[[subscript]]ed</sub> or <sup>[[superscript]]ed</sup> text. (Equivalent CSS: {{code|lang=css|code={ vertical-align: sub; } }} and {{code|lang=css|code={ vertical-align: super; } }}, respectively.)}} {{defn|Both were proposed in the [[#HTML30|HTML 3.0 Drafts]]; '''Standardized''' in [[#HTML32|HTML 3.2]]; still current.}} {{term|term=template |content= {{XMLElement|template|Template}} }} {{defn|1= Code fragments to be copied by scripts.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template|title=<template>|website=MDN Web Docs}}</ref>}} {{term|term=time |content= {{XMLElement|time|Time}} }} {{defn|1= Represents a time on the 24-hour clock or a date on the [[Gregorian calendar]], optionally with time and time zone information. Also allows times and dates to be represented in a machine-readable format.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time|title=<time>|website=MDN Web Docs}}</ref>}} {{term|term=wbr |content= {{XMLElement|wbr|Word Break Opportunity|end=no}} }} {{defn|1= An optional word break.}} {{defn|Was widely used (and supported by all major browsers){{Citation needed|date=September 2023}} for years{{Clarify timeframe|date=September 2023}} despite being non-standard until finally being '''standardized''' in [[#HTML5|HTML5]].<ref>{{cite web|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr|title=<wbr>|website=MDN Web Docs}}</ref>}} {{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)