Feature html ref pe 28230 11549 480 txt




















Last Updated : 28 Nov, Next htmlentities vs htmlspecialchars Function in PHP. Recommended Articles. Insert tags or strings immediately before and after specified tags using BeautifulSoup. Article Contributed By :. Easy Normal Medium Hard Expert. Writing code in comment? Please use ide. Load Comments. What's New. Most popular in PHP. If the element is not disabled , then the user agent should allow the user to activate the button. The select element represents a control for selecting amongst a set of options.

The datalist element represents a set of option elements that represent predefined options for other controls.

The contents of the element represents fallback content for legacy user agents, intermixed with option elements that represent the predefined options. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden.

The optgroup element represents a group of option elements with a common label. The option element represents an option in a select element or as part of a list of suggestions in a datalist element. The output element represents the result of a calculation. The details element represents additional information or controls which the user can obtain on demand. The command element represents a command that the user can invoke.

The bb element represents a user agent command that the user can invoke. The menu element represents a list of commands. The div element represents nothing at all.

These elements are obsolete and should not be used by authors. However, they are documented here because they are supported by browsers, along with notes about conforming alternatives that may be used instead. Notes are used throughout this document to provide additional information. Tips are used to provide useful hints and suggestions.

Warnings are used to point out common authoring errors and highlight important issues to be aware of.

In some cases, the markup is the same and thus only one example is needed, but in others there may be differences syntactic differences. Sometimes, erroneous examples are included. This is usually done to illustrate common authoring errors, bad practices and other issues to be cautious of. Unless explicitly stated otherwise for a specific purpose, all attribute values in examples are quoted using double quotes. In HTML, however, the trailing slash is optional and, unless explicitly stated otherwise, is always omitted.

In such cases, the following prefixes are assumed to be defined even if there is no xmlns attributes in the fragment of code.

Start tag: optional End tag: optional Categories: None. Contained By: As the root element of a document. Wherever a subdocument fragment is allowed in a compound document. Content Model: A head element followed by a body element. Attributes Global attributes manifest. Contained By: As the first element in an html element. Content Model: One or more elements of metadata content , of which exactly one is a title element.

Attributes Global attributes. Start tag: required End tag: required Categories: Metadata content. Contained By: In a head element containing no other title elements. Content Model: Text. Start tag: required End tag: empty Categories: Metadata content.

Contained By: In a head element containing no other base elements. Content Model: Empty. Attributes Global attributes href target. Contained By: Where metadata content is expected.

In a noscript element that is a child of a head element. Attributes Global attributes href rel media hreflang type sizes Also, the title attribute has special semantics on this element. Contained By: If the charset attribute is present, or if the element is in the Encoding declaration state : in a head element. If the http-equiv attribute is present, and the element is not in the Encoding declaration state : in a head element.

If the http-equiv attribute is present, and the element is not in the Encoding declaration state : in a noscript element that is a child of a head element. If the name attribute is present: where metadata content is expected. Attributes Global attributes name http-equiv content charset. If the scoped attribute is present: flow content.

Contained By: If the scoped attribute is absent: where metadata content is expected. If the scoped attribute is absent: in a noscript element that is a child of a head element.

If the scoped attribute is present: where flow content is expected, but before any other flow content other than other style elements and inter-element whitespace. Content Model: Depends on the value of the type attribute. Attributes Global attributes media type scoped Also, the title attribute has special semantics on this element. Flow content. Phrasing content. Where phrasing content is expected. Content Model: If there is no src attribute, depends on the value of the type attribute.

If there is a src attribute, the element must be either empty or contain only script documentation. Attributes Global attributes src async defer type charset. Where phrasing content is expected in HTML documents , if there are no ancestor noscript elements. Content Model: When scripting is disabled , in a head element: in any order, zero or more link elements, zero or more style elements, and zero or more meta elements.

When scripting is disabled , not in a head element: transparent , but there must be no noscript element descendants. Otherwise: text that conforms to the requirements given in the prose. Start tag: optional End tag: optional Categories: Sectioning root.

Contained By: As the second element in an html element. Content Model: Flow content. Attributes Global attributes onbeforeunload onerror onhashchange onload onmessage onoffline ononline onpopstate onresize onstorage onunload.

Start tag: required End tag: required Categories: Flow content. Sectioning content. Contained By: Where flow content is expected. Heading content. Content Model: Phrasing content. Content Model: Flow content , including at least one descendant that is heading content , but no sectioning content descendants, no header element descendants, and no footer element descendants. Content Model: Flow content , but with no heading content descendants, no sectioning content descendants, and no footer element descendants.

Content Model: Flow content , but with no heading content descendants, no sectioning content descendants, no footer element descendants, and no address element descendants. Start tag: required End tag: optional Categories: Flow content. Start tag: required End tag: empty Categories: Flow content. Contained By: Where phrasing content is expected.

Content Model: Zero or more pairs of one dt element followed by one dd element. Sectioning root. Attributes Global attributes cite. Content Model: Zero or more li elements. Attributes Global attributes reversed start. Start tag: required End tag: optional Categories: None. Contained By: Inside ol elements.

Inside ul elements. Inside menu elements. Attributes Global attributes If the element is a child of an ol element: value. Content Model: Zero or more groups each consisting of one or more dt elements followed by one or more dd elements. Contained By: Before dd or dt elements inside dl elements.

Before a dd element inside a dialog element. Contained By: After dt or dd elements inside dl elements. After a dt element inside a dialog element. Start tag: required End tag: required Categories: Interactive content. When the element only contains phrasing content : phrasing content. Content Model: Transparent , but there must be no interactive content descendant.

Attributes Global attributes href target ping rel media hreflang type. Content Model: Phrasing content , but there must be no descendant dfn elements. Attributes Global attributes Also, the title attribute has special semantics on this element.

Attributes Global attributes datetime. Attributes Global attributes value max. Attributes Global attributes value min low high max optimum. Attributes Global attributes Also, the dir global attribute has special semantics on this element. Content Model: One or more groups of: phrasing content followed either by a single rt element, or an rp element, an rt element, and another rp element.

Start tag: required End tag: required Categories: None. Contained By: As a child of a ruby element. Contained By: As a child of a ruby element, either immediately before or immediately after an rt element.

Content Model: If the rp element is immediately after an rt element that is immediately preceded by another rp element: a single character from Unicode character class Pe.

Otherwise: a single character from Unicode character class Ps. Content Model: Transparent. Attributes Global attributes cite datetime. Content Model: Either: one legend element followed by flow content. Or: Flow content followed by one legend element. Or: Flow content. Embedded content. If the element has an usemap attribute: Interactive content. Contained By: Where embedded content is expected.

Attributes Global attributes alt src usemap ismap width height. Content Model: Text that conforms to the requirements given in the prose.

Attributes Global attributes src name sandbox seamless width height. Attributes Global attributes src type width height Any other attribute that has no namespace see prose. Listed , submittable , form-associated element. Content Model: Zero or more param elements, then, transparent. Attributes Global attributes data type name usemap form width height. Start tag: required End tag: empty Categories: None.

Contained By: As a child of an object element, before any flow content. Attributes Global attributes name value. If the element has a controls attribute: Interactive content. Content Model: If the element has a src attribute: transparent. If the element does not have a src attribute: one or more source elements, then, transparent. Attributes Global attributes src poster autobuffer autoplay loop controls width height. Attributes Global attributes src autobuffer autoplay loop controls.

Contained By: As a child of a media element , before any flow content. Attributes Global attributes src type media.

Attributes Global attributes width height. Attributes Global attributes name. Contained By: Where phrasing content is expected, but only if there is a map element ancestor.

Attributes Global attributes alt coords shape href target ping rel media hreflang type. Content Model: In this order: optionally a caption element, followed by either zero or more colgroup elements, followed optionally by a thead element, followed optionally by a tfoot element, followed by either zero or more tbody elements or one or more tr elements, followed optionally by a tfoot element but there can only be one tfoot element child in total. Contained By: As the first element child of a table element.

Contained By: As a child of a table element, after any caption elements and before any thead , tbody , tfoot , and tr elements. Content Model: Zero or more col elements. Attributes Global attributes span.

Contained By: As a child of a colgroup element that doesn't have a span attribute. Contained By: As a child of a table element, after any caption , colgroup , and thead elements, but only if there are no tr elements that are children of the table element. Content Model: Zero or more tr elements Attributes Global attributes.

Contained By: As a child of a table element, after any caption , and colgroup elements and before any tbody , tfoot , and tr elements, but only if there are no other thead elements that are children of the table element. Contained By: As a child of a table element, after any caption , colgroup , and thead elements and before any tbody and tr elements, but only if there are no other tfoot elements that are children of the table element.

As a child of a table element, after any caption , colgroup , thead , tbody , and tr elements, but only if there are no other tfoot elements that are children of the table element. Contained By: As a child of a thead element. As a child of a tbody element. As a child of a tfoot element. As a child of a table element, after any caption , colgroup , and thead elements, but only if there are no tbody elements that are children of the table element.

Content Model: Zero or more td or th elements Attributes Global attributes. Start tag: required End tag: optional Categories: Sectioning root. Contained By: As a child of a tr element. Attributes Global attributes colspan rowspan headers. Attributes Global attributes colspan rowspan headers scope. Content Model: Flow content , but with no form element descendants. Attributes Global attributes accept-charset action autocomplete enctype method name novalidate target.

Listed form-associated element. Content Model: One legend element follwed by flow content. Attributes Global attributes disabled form name.

Interactive content. Form-associated element. Content Model: Phrasing content , but with no descendant labelable form-associated elements unless it is the element's labeled control , and no descendant label elements. Attributes Global attributes form for. If the type attribute is not in the Hidden state: Interactive content.

Listed , labelable , submittable , and resettable form-associated element. Attributes Global attributes accept action alt autocomplete autofocus checked disabled enctype form height list max maxlength method min multiple name novalidate pattern placeholder readonly required size src step target type value width. Listed , labelable , and submittable form-associated element. Content Model: Phrasing content , but there must be no interactive content descendant. Attributes Global attributes action autofocus disabled enctype form method name novalidate target type value.

Content Model: Zero or more option or optgroup elements. Attributes Global attributes autofocus disabled form multiple name size. Content Model: Either: phrasing content. Or: Zero or more option elements. Contained By: As a child of a select element. Defines strikethrough text. Defines teletype text. Defines a window a frame in a frameset.

Defines an alternate content for users that do not support frames. Defines the relationship between a document and an external resource most used to link to style sheets. Defines a directory list. Specifies a default color, size, and font for all text in a document. Defines an embedded applet.



0コメント

  • 1000 / 1000