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 block elements ==== <!--linked from Template:Pre2--> {{glossary}} {{term|term=address |content= {{XMLElement|address|Address}} }} {{defn|1= Contact information for the document author.}} {{defn|<code>ADDRESS</code> existed in ''[[#HTMLTAGS|HTML Tags]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{term|term=article |content= {{XMLElement|article|Article}} }} {{defn|1= {{Main|Article element}} Used for articles and other similar content. }} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=aside |content= {{XMLElement|aside|Aside}} }} {{defn|1= Used for content in a document which is separate from the main page content, for example, sidebars or advertising.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=blockquote |content= {{XMLElement|blockquote|BlockQuotation}}<!-- Linked from [[Wikipedia:Quotations]] --> }} {{defn|1= {{Main|Blockquote element}} A [[blockquote|block level quotation]], for when the quotation includes block level elements, e.g. paragraphs. The <code>cite</code> attribute (not to be confused with the [[#cite|{{tag|cite|o}}]] element) may give the source, and must be a fully qualified [[Uniform Resource Identifier]]. The default presentation of block quotations in visual browsers is usually to indent them from both margins. This has led to the element being unnecessarily used just to indent paragraphs, regardless of semantics. For quotations not containing block level elements see the quote ([[#q|{{tag|q|o}}]]) element. }} {{defn|<code>BLOCKQUOTE</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current. See [[blockquote element]] for more information.}} {{term|term=center |content= {{XMLElement|center|Centered Text|deprecated=1}} }} {{defn|1= Creates a block-level center-aligned division. Deprecated in favor of [[#div|{{tag|div|o}}]] or another element with centering defined using style sheets.}} {{defn|'''Standardized''' in [[#HTML32|HTML 3.2]]; '''deprecated''' in [[#HTML401|HTML 4.0]]; '''not supported''' in [[#HTML5|HTML5]].}} {{term|term=del |content= {{XMLElement|del|Deleted Section}} }} {{defn|1= Marks a deleted section of content. This element can also be used as ''inline''.}} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current.}} {{term|term=div |content= {{XMLElement|div|Logical division}} }} {{defn|1= {{Main|Span and div}} A block-level logical division. A generic element with no semantic meaning used to distinguish a document section, usually for purposes such as presentation or behavior controlled by [[Cascading Style Sheets|style sheets]] or [[Document Object Model|DOM]] calls.}} {{defn|Proposed in the [[#HTML30|HTML 3.0 Drafts]]; '''Standardized''' in [[#HTML32|HTML 3.2]]; still current.}} {{term|term=figure |content= {{XMLElement|figure|Figure}} }} {{defn|1= Used to group images and captions, along with {{tag|figcaption|o}}.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=figcaption |content= {{XMLElement|figcaption|Figure Caption}} }} {{defn|1= A caption for an image. Always placed inside the {{tag|figure|o}} element.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=footer |content= {{XMLElement|footer|Footer}} }} {{defn|1= Used for document footers. These might contain author or copyright information, or links to other pages.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=header |content= {{XMLElement|header|Header}} }} {{defn|1= Used for document headers. These typically contain content introducing the page.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=hr |content= {{XMLElement|hr|Thematic break|end=no}} }} {{defn|1= A [[thematic break (formatting)|thematic break]] (originally: horizontal rule). Presentational rules can be drawn with style sheets.}} {{defn|'''Standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{term|term=ins |content= {{XMLElement|ins|Inserted Section}} }} {{defn|1= Marks a section of inserted content. This element can also be used as ''inline''.}} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current.}} {{term|term=main |content= {{XMLElement|main|Main Content}} }} {{defn|1= Contains the main content of a document.}} {{defn|'''Standardized''' in [[#HTML5|HTML 5.1]].}} {{term|term=menu |content= {{XMLElement|menu|Menu}} }} {{defn|1= HTML 2.0: A menu listing. Should be more compact than a {{tag|ul|o}} list.}} {{defn|<code>MENU</code> existed in ''[[#HTMLTAGS|HTML Tags]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; '''deprecated''' in [[#HTML401|HTML 4.0 Transitional]]; '''invalid''' in [[#HTML401|HTML 4.0 Strict]]; then redefined in [[#HTML5|HTML5]], removed in HTML 5.2, but is included in the HTML Living Standard in 2019. }} {{term|term=nav |content= {{XMLElement|nav|Navigation}} }} {{defn|1= Used in navigational sections of articles (areas of webpages which contain links to other webpages).}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=noscript |content= {{XMLElement|noscript|JavaScript Fallback}} }} {{defn|1= Replacement content for scripts. Unlike '''script''' this can only be used as a block-level element.}} {{defn|'''Standardized''' in [[#HTML401|HTML 4.0]]; still current.}} {{term|term=pre |content= {{XMLElement|pre|PreFormatted Text}} }} {{defn|1= ''Pre-formatted'' text. Text within this element is typically displayed in a [[non-proportional font]] exactly as it is laid out in the file (see [[ASCII art]]). Whereas browsers ignore [[Whitespace (computer science)|white-space]] for other HTML elements, in {{tag|pre}}, white-space should be rendered as authored. (With the CSS properties: {{code|lang=css|code={ white-space: pre; font-family: monospace; }<nowiki />}}, other elements can be presented in the same way.) This element can contain any inline element except: [[#image|{{tag|image|o}}]], [[#object|{{tag|object|o}}]], [[#big|{{tag|big|o}}]], [[#small|{{tag|small|o}}]], [[#sup|{{tag|sup|o}}]], and [[#sub|{{tag|sub}}]].}} {{defn|<code>PRE</code> existed in ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', and was '''standardized''' in [[#HTML20|HTML 2.0]]; still current.}} {{term|term=section |content= {{XMLElement|section|Section}} }} {{defn|1= Used for generic sections of a document. This is different from [[#div|{{tag|div|o}}]] in that it is only used to contain sections of a page, which the W3C defines as a group of content with a similar theme.}} {{defn|'''Standardized''' in [[#HTML5|HTML5]].}} {{term|term=script |content= {{XMLElement|script|Script}} }} {{defn|1= Places a script in the document. Also usable in the head and in inline contexts. It may be used as {{tag|script|s}} with a <code>src</code> attribute to supply a URL from which to load the script, or used as {{tag|script}} around embedded script content. {{strong|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.}} {{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)