Content deleted Content added
m v2.05b - Bot T12 CW#548 - Fix errors for CW project (Punctuation in link - Link equal to linktext) |
fixed errors →SGML-based versus XML-based HTML |
||
Line 422:
* Include both <code>xml:lang</code> and <code>lang</code> attributes on any elements assigning language.
* Use the empty-element syntax only for elements specified as empty in HTML.
* Include an extra space in empty-element tags: for example {{code|lang=html|code=<br />}} instead of {{code|lang=html|code=<br
* Include explicit close tags for elements that permit content but are left empty (for example, {{code|lang=html|code=<div></div>}}, not {{code|lang=html|code=<div />}}).
* Omit the XML declaration.
Line 435:
** Inline elements and plain text are allowed directly in: <code>body</code>, <code>blockquote</code>, <code>form</code>, <code>noscript</code> and <code>noframes</code>
* '''Presentation related elements'''
** underline (<code>u</code>) (Deprecated. can confuse a visitor with a hyperlink.)
** strike-through (<code>s</code>)
** <code>center</code> (Deprecated. use CSS instead.)
|