Help:HTML in wikitext: Difference between revisions

Content deleted Content added
Validation: New section.
Line 247:
 
User CSS and JS pages (see [[Help:User style]]) are interpreted as if inside a <nowiki><pre></nowiki> block. From MW 1.11 this also goes for sitewide CSS/JS; in earlier versions, you have to manually add <tt><nowiki>/*<pre>*/</nowiki></tt> to the beginning and <tt><nowiki>/*</pre>*/</nowiki></tt> to the end of those pages to avoid strange rendering.
 
==Validation==
{{main|Help:Markup validation}}
The MediaWiki software attempts to catch HTML errors, but it does not catch all of them. If you use HTML in wikitext, it is helpful to verify it with the [[W3C Markup Validation Service]].
 
== External links ==