Help:HTML in wikitext: Difference between revisions

Content deleted Content added
m Synatx upd, remove redirect
p: paragraphs in lists
Tags: Mobile edit Mobile web edit
Line 155:
HyperText Markup Language
}}
 
{{tag|p}} is especially useful in lists, for list items with multiple paragraphs:
 
{{markup|<nowiki>
* This is a paragraph.<p>This is another paragraph in the same item.
* This is a different item.</nowiki>
|
* This is a paragraph.<p>This is another paragraph in the same item.
* This is a different item.}}
 
The first paragraph is put in a {{tag|p|o}} automatically, so don't put a {{tag|p|o}} in front of it, or you will get an extra line break. Note that the closing tag {{tag|p|c}} is not strictly necessary for MediaWiki installations that output HTML 5 (such as Wikipedia).
 
==== br ====