Search results
Results From The WOW.Com Content Network
A colon at the start of the line produces a similar indent, but it produces incorrect HTML. See MOS:INDENT. (An initial : was intended only for use after ;, in constructing description lists, but most editors have used it almost everywhere for indenting.) {} is for actual quotations only.
For years in HTML, a table has always forced an implicit line-wrap (or line-break). So, to keep a table within a line, the workaround is to put the whole line into a table, then embed a table within a table, using the outer table to force the whole line to stay together. Consider the following examples: Wikicode (showing table forces line-break)
6 Scrolling tables with sticky column and row headers. ... Using HTML codes within wikitext; ... You can add indentation by adding margin styling to the first div:
While tables should not normally be indented, when their surrounding paragraphs are also indented, you can indent tables using margin-left. To achieve the same indentation as a colon, use margin-left:1.6em .
Indent differs from {} only in that it automatically begins a wrapped-newline, then spaces over n spaces, whereas {} spaces over n in the same (current) line. Examples The following are detailed examples, also comparing to the equivalent indentation generated if a colon-shift : were used instead.
You can add a table using HTML rather than wiki markup, as described at HTML element#Tables. However, HTML tables are discouraged because wikitables are easier to customize and maintain, as described at manual of style on tables. Also, note that the <thead>, <tbody>, <tfoot>, <colgroup>, and <col> elements are not supported in wikitext.
An HTML document is composed of a tree of simple HTML nodes, such as text nodes, and HTML elements, which add semantics and formatting to parts of a document (e.g., make text bold, organize it into paragraphs, lists and tables, or embed hyperlinks and images).
When wiki markup colons are used just for visual indentation, they too are rendered in HTML as description lists, but without ;-delimited terms to which the :-indented material applies, nor with the list start and end tags, which produces broken markup (see WP:Manual of Style/Accessibility § Indentation for details).