This HTML reference describes all elements and attributes of HTML, including global attributes that apply to all elements.
<plaintext> Renders everything following the start tag as raw text, ignoring any following HTML. There is no closing tag, since everything after it is considered raw text. <rb> Used to delimit the base text component of a ruby annotation, i.e. the text that is being annotated. One <...
Tag omissionIt must have start tag, but must not have an end tag. Permitted parent elementsAny element that acceptsflow content. DOM interfaceHTMLHRElement 特性 This element includes theglobal attributes. align Sets the alignment of the rule on the page. If no value is specified, the default...
constnullVar=null;nullVar.toString();// TypeError: nullVar is nullString(nullVar);// "null"constundefinedVar=undefined;undefinedVar.toString();// TypeError: undefinedVar is undefinedString(undefinedVar);// "undefined" Specification ECMAScript® 2025 Language Specification ...
The HTML elementtable row<tr>defines a row of cells in a table. Those can be a mix of<td>and<th>elements. Usage context Content categoriesNone Permitted contentZero or more<td>or<th>elements, or a mix of them Tag omissionStart tag is mandatory. End tag may be omitted if the<tr>ele...
MDN Web Docs is an open-source, collaborative project that documents web technologies including CSS, HTML, JavaScript, and Web APIs. Alongside detailed reference documentation, we provide extensive learning resources for students and beginners getting started with web development. MDN's mission MDN's ...
CSS 网格布局擅长于将一个页面划分为几个主要区域,以及定义这些区域的大小、位置、层次等关系(前提是 HTML 生成了这些区域)。
'Reference': 'References:', 'HTML_Elements': 'HTML elements', 'Global_attributes': 'Global attributes', 'Input_types': '<code><input></code> types', 'Documentation': 'Documentation:', 'Useful_lists': 'Useful lists', 'Index': 'All pages index', 'HTML_tag': 'Pages tagged "...
Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on iOS Samsung Internet WebView Android WebView on iOS innerHTML Legend Tip: you can click/tap on a cell for more information. Full support Full support
innerHTML 1 Toggle history 12 Toggle history 1 Toggle history 8 Toggle history 1 Toggle history 18 Toggle history 4 Toggle history 10.1 Toggle history 1 Toggle history 1.0 Toggle history 1 Toggle history Legend Tip: you can click/tap on a cell for more information. ...