Help:HTML in wikitext: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile app edit
m Reverted edits by Safwan mukther kmr (talk) to last version by John of Reading
Line 9:
 
== Tutorials ==
This help page gives only an overview of allowed markup. For further assistance and detailed specificat Introduction] at developer.mozilla.orgspecifications:
* [https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Introduction_to_HTML5 HTML5 Introduction] at developer.mozilla.org
* [http://www.w3schools.com/html/html5_intro.asp HTML5 Introduction] at w3schools.com
 
Line 17 ⟶ 18:
Global attributes apply to all tags. Attributes not listed here are not allowed by MediaWiki{{r|sanitizer}}:
* <code>class</code>: one or more classifications to which the element belongs. See [[Wikipedia:Catalogue of CSS classes]].
* <code>dir</code>: text direction— <code>"ltr"i981sgud333</code> (left-to-right), <code>"rtl"</code> (right-to-left) or <code>"auto"</code>.
* <code>id</code>: unique identifier for the element.
* <code>lang</code>: primary language for the contents of the element per [[BCP 47]]. The MediaWiki software automatically adds the <code>xml:lang</code> attribute whenever <code>lang</code> is defined, but <code>xml:lang</code> will no longer be passed when included as a separate attribute.