Help:HTML in wikitext: Difference between revisions

Content deleted Content added
p: paragraphs in lists
Tags: Mobile edit Mobile web edit
Comments: spacing around comments
Tags: Mobile edit Mobile web edit
Line 200:
Templates: {{tl|hr}}
 
==== commentComments ====
{{see|WP:COMMENT}}
{{tag|!--}} formats the enclosed text as a hidden comment.
Line 208:
|HyperText<!--Markup Language-->
}}
 
Be careful with spacing around comments. Surrounding a comment with blank lines will result in a blank paragraph, perceived as an extra two blank lines:
 
{{markup|<nowiki>Content line 1
 
<!-- Comment -->
 
Content line 2</nowiki>|Content line 1
 
<!-- Comment -->
 
Content line 2}}
 
=== Formatting ===